Show / Hide Table of Contents

    Interface IBrokerLogEnricher

    Provides enrichment for the logs written in the context of the consumers and producers.

    Namespace: Silverback.Diagnostics
    Assembly: Silverback.Integration.dll
    Syntax
    public interface IBrokerLogEnricher

    Properties

    | Improve this doc View source

    AdditionalPropertyName1

    Gets the name of the first additional property.

    Declaration
    string AdditionalPropertyName1 { get; }
    Property Value
    Type Description
    string
    | Improve this doc View source

    AdditionalPropertyName2

    Gets the name of the second additional property.

    Declaration
    string AdditionalPropertyName2 { get; }
    Property Value
    Type Description
    string

    Methods

    | Improve this doc View source

    GetAdditionalValues(IEndpoint, IReadOnlyCollection<MessageHeader>?, IBrokerMessageIdentifier?)

    Returns the values for the two additional properties.

    Declaration
    (string? Value1, string? Value2) GetAdditionalValues(IEndpoint endpoint, IReadOnlyCollection<MessageHeader>? headers, IBrokerMessageIdentifier? brokerMessageIdentifier)
    Parameters
    Type Name Description
    IEndpoint endpoint

    The target endpoint.

    IReadOnlyCollection<MessageHeader> headers

    The message headers.

    IBrokerMessageIdentifier brokerMessageIdentifier

    The message identifier at broker level (e.g. the Kafka offset).

    Returns
    Type Description
    (string Value1, string Value2)

    Returns a tuple containing the values for the two additional properties.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini