This is a Spring + Kafka application. The kafka config is as below. batch.size=1 and linger.ms = 20000.
batch.size=1
linger.ms = 20000
acks = 1 batch.size = 1 bootstra