Relative Content

Tag Archive for javaspringspring-kafkaspring-cloud-stream-binder-kafka

Howto enforce large batch-sizes in Kafka-Consumer

I want to consume large as possible batches from Kafka via Spring-Cloud-Stream. But currently the first batch is big (~450 messages) and then all following payloads are around 1-10 messages. Between the small batches are only ~100ms: