props.put("acks", properties.getProducerProperties().getAcks());
props.put("delivery.timeout.ms", (int)properties.getProducerProperties().getDeliveryTimeout().toMillis());
props.put("max.block.ms", (int)properties.getProducerProperties().getMaxBlock().toMillis());
+ props.put("buffer.memory", properties.getProducerProperties().getBufferMemory());
props.put("batch.size", properties.getProducerProperties().getBatchSize());
props.put("metadata.max.age.ms", 5000); // 5 Sekunden
props.put("request.timeout.ms", 5000); // 5 Sekunden
acks: -1
delivery-timeout: 10s
max-block: 5s
+ buffer-memory: 33554432
batch-size: 16384
linger: 0
compression-type: gzip
acks: ${juplo.producer.acks}
delivery-timeout: ${juplo.producer.delivery-timeout}
max-block: ${juplo.producer.max-block}
+ buffer-memory: ${juplo.producer.buffer-memory}
batch-size: ${juplo.producer.batch-size}
linger: ${juplo.producer.linger}
compression-type: ${juplo.producer.compression-type}