Show / Hide Table of Contents

    Interface IKafkaConsumerLogCallback

    Declares the OnConsumerLog(LogMessage, KafkaConsumer) event handler.

    Namespace: Silverback.Messaging.Broker.Callbacks
    Assembly: Silverback.Integration.Kafka.dll
    Syntax
    public interface IKafkaConsumerLogCallback : IBrokerCallback

    Methods

    | Improve this doc View source

    OnConsumerLog(LogMessage, KafkaConsumer)

    Called when a log message is being reported by the underlying consumer.

    Declaration
    bool OnConsumerLog(LogMessage logMessage, KafkaConsumer consumer)
    Parameters
    Type Name Description
    LogMessage logMessage

    The Confluent.Kafka.LogMessage.

    KafkaConsumer consumer

    The related consumer instance.

    Returns
    Type Description
    bool

    A value whether the log message was handled/written. When true the message will not be logged nor handled in any other way by Silverback.

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