Relative Content

Tag Archive for javaapache-kafkaspring-cloud-streamspring-cloud-stream-binder-kafka

Spring cloud stream kafka consumer batching not working

In the code below I expected the consumer to only receive one message with list of messages, but I’m actually getting the messages separately.
How can I turn on consumer batching to only receive a single message with a list of messages?
I used spring boot 3.2.9 and cloud 2023.0.3.