Can a Kafka consumer(0.8.2.2) read messages in batch

后端 未结 3 499

As per my understanding Kafka consumer reads messages from an assigned partition sequentially...

We are planning to have multiple Kafka consumer (Java) which has sam

3条回答
  •  一生所求
    2020-12-16 07:22

    You can consume the messages in batches and process them in a batched manner. batch.max.wait.ms (property) the consumer will wait this amount of time and polls for new message

提交回复
热议问题