Safe Haskell | None |
---|---|
Language | Haskell2010 |
- ordinaryConsumerId :: ReplicaId
- fetchRequest :: Kafka m => Offset -> Partition -> TopicName -> m FetchRequest
- fetch' :: Kafka m => Handle -> FetchRequest -> m FetchResponse
- fetch :: Kafka m => Offset -> Partition -> TopicName -> m FetchResponse
- fetchMessages :: FetchResponse -> [TopicAndMessage]
Fetching
ordinaryConsumerId :: ReplicaId Source #
Default: -1
fetchRequest :: Kafka m => Offset -> Partition -> TopicName -> m FetchRequest Source #
Construct a fetch request from the values in the state.
fetch' :: Kafka m => Handle -> FetchRequest -> m FetchResponse Source #
Execute a fetch request and get the raw fetch response.
fetchMessages :: FetchResponse -> [TopicAndMessage] Source #
Extract out messages with their topics from a fetch response.