props.put("metadata.maxage.ms", 5000); // 5 Sekunden
props.put("max.poll.interval.ms", (int) properties.getConsumer().getMaxPollInterval().toMillis());
props.put("max.poll.interval.records", properties.getConsumer().getMaxPollRecords());
+ props.put("fetch.max.wait.ms", (int)properties.getConsumer().getFetchMaxWait().toMillis());
props.put("partition.assignment.strategy", StickyAssignor.class.getName());
props.put("key.deserializer", StringDeserializer.class.getName());
props.put("value.deserializer", LongDeserializer.class.getName());