Configuration.producerBatchTimeout

maximum time to wait (msecs) for a message set. Batches of messages are prepared up to maximum buffer size or up to batch timeout, whichever happens first

struct Configuration
int producerBatchTimeout;

Meta