-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
While connecting to kafka I'm getting
Error while processing: null
java.lang.NullPointerException: null
at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.seekPartitions(KafkaMessageListenerContainer.java:636)
at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:764)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.lang.Thread.run(Thread.java:834)
there is 20 partitions, I'm connecting to kafka with two instances of application.
Is this because the first instance locks all the partitions?
It seems that when topic becomes empty problem disappears