package de.juplo.kafka;
import lombok.extern.slf4j.Slf4j;
+import org.apache.kafka.clients.consumer.Consumer;
import org.apache.kafka.common.serialization.ByteArraySerializer;
import org.apache.kafka.common.serialization.StringSerializer;
import org.springframework.boot.SpringApplication;
ApplicationRecordHandler recordHandler,
AdderResults adderResults,
StateRepository stateRepository,
+ Consumer<String, Message> kafkaConsumer,
KafkaProperties kafkaProperties)
{
return new ApplicationRebalanceListener(
recordHandler,
adderResults,
stateRepository,
+ kafkaConsumer,
kafkaProperties.getConsumer().getGroupId());
}