Module

Kafka.Producer

Package
purescript-kafkajs
Repository
HivemindTechnologies/purescript-kafkajs

#Producer Source

data Producer :: Type

#ProducerConfig Source

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

#ProducerMessage Source

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

#ProducerBatch Source

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

#InternalProducerMessage Source

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

#InternalProducerBatch Source

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

#RecordMetadata Source