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 sourceOnConsumerLog(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 |