KafkaConsumer<String, Long> kafkaConsumer,
ExecutorService executor,
Consumer<ConsumerRecord<String, Long>> handler,
+ PartitionStatisticsRepository repository,
ApplicationProperties properties)
{
return
new EndlessConsumer<>(
executor,
+ repository,
properties.getClientId(),
properties.getTopic(),
kafkaConsumer,