Module

Kafka.Producer

#Producer

data Producer :: Type

#ProducerConfig

type ProducerConfig = { idempotent :: Maybe Boolean, maxInFlightRequests :: Maybe Int, transactionalId :: Maybe String }

#connect

#ProducerMessage

type ProducerMessage = { key :: Maybe String, partition :: Maybe Partition, value :: String }

#ProducerBatch

type ProducerBatch = { messages :: Array (ProducerMessage), topic :: Topic }

#InternalProducerMessage

type InternalProducerMessage = { key :: Nullable String, partition :: Nullable Int, value :: String }

#InternalProducerBatch

type InternalProducerBatch = { messages :: Array (InternalProducerMessage), topic :: String }

#RecordMetadata

#disconnect

Modules