Show / Hide Table of Contents

    Interface IKafkaConsumerLogCallback

    Declares the OnConsumerLog(LogMessage, IKafkaConsumer) event handler.

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

    Methods

    OnConsumerLog(LogMessage, IKafkaConsumer)

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

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

    The Confluent.Kafka.LogMessage.

    IKafkaConsumer 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.

    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini