Interface IKafkaProducerLogCallback
Declares the OnProducerLog(LogMessage, KafkaProducer) event handler.
Namespace: Silverback.Messaging.Broker.Callbacks
Assembly: Silverback.Integration.Kafka.dll
Syntax
public interface IKafkaProducerLogCallback : IBrokerCallback
Methods
| Improve this doc View sourceOnProducerLog(LogMessage, KafkaProducer)
Called when a log message is being reported by the underlying producer.
Declaration
bool OnProducerLog(LogMessage logMessage, KafkaProducer producer)
Parameters
Type | Name | Description |
---|---|---|
LogMessage | logMessage | The Confluent.Kafka.LogMessage. |
KafkaProducer | producer | The related producer instance. |
Returns
Type | Description |
---|---|
bool | A value whether the log message was handled/written. When |