hw-kafka-client-2.5.0: Kafka bindings for Haskell

Safe HaskellNone
LanguageHaskell2010

Kafka.Producer.ProducerProperties

Synopsis

Documentation

setCallback :: (KafkaConf -> IO ()) -> ProducerProperties Source #

logLevel :: KafkaLogLevel -> ProducerProperties Source #

Sets the logging level. Usually is used with debugOptions to configure which logs are needed.

extraProps :: Map String String -> ProducerProperties Source #

Any configuration options that are supported by librdkafka. The full list can be found here

suppressDisconnectLogs :: ProducerProperties Source #

Suppresses producer disconnects logs.

It might be useful to turn this off when interacting with brokers with an aggressive connection.max.idle.ms value.

extraTopicProps :: Map String String -> ProducerProperties Source #

Any configuration options that are supported by librdkafka. The full list can be found here

debugOptions :: [KafkaDebug] -> ProducerProperties Source #

Sets debug features for the producer Usually is used with logLevel.

deliveryCallback :: (DeliveryReport -> IO ()) -> KafkaConf -> IO () Source #

Sets the callback for delivery reports.