kafka-elasticsearch-injector
kafka-elasticsearch-injector copied to clipboard
Synchronous flush
trafficstars
KAFKA_CONSUMER_BATCH_SIZE controls when the in-memory events are flushed to ES.
However some topics may have small throughput, not having their events flushed at all.
It would be nice to have a second parameter controlling a recurrent tick so the in-memory events are flushed even when they do not meet the batch size requirement