Module
Kafka.Producer
- Package
- purescript-kafkajs
- Repository
- HivemindTechnologies/purescript-kafkajs
#makeProducer Source
makeProducer :: Kafka -> ProducerConfig -> Producer
#ProducerBatch Source
type ProducerBatch = { messages :: Array (ProducerMessage), topic :: Topic }
#InternalProducerBatch Source
type InternalProducerBatch = { messages :: Array (InternalProducerMessage), topic :: String }
#RecordMetadata Source
data RecordMetadata :: Type
#send Source
send :: Producer -> ProducerBatch -> Aff (Array RecordMetadata)