Module

Kafka.Consumer

Package
purescript-kafkajs
Repository
HivemindTechnologies/purescript-kafkajs

#Consumer Source

data Consumer :: Type

#ConsumerConfig Source

type ConsumerConfig = { autoCommit :: Boolean, groupId :: String, readUncommitted :: Boolean }

#SubscriptionConfig Source

type SubscriptionConfig = { topic :: String }

#ConsumerMessage Source

type ConsumerMessage = { key :: Maybe Buffer, offset :: Offset, value :: Buffer }

#ConsumerBatch Source

type ConsumerBatch = { fetchedOffset :: Offset, highWatermark :: Offset, messages :: Array ConsumerMessage, partition :: Partition, topic :: Topic }

#Heartbeat Source

#ResolveOffset Source

#CommitOffsetsIfNecessary Source

#OffsetInfo Source

type OffsetInfo = { topics :: Array { partitions :: Array { offset :: Offset, partition :: Partition }, topic :: Topic } }

#UncommittedOffsets Source