Open AjiTae opened 5 years ago
In your example the listener fails with:
08:22:39.276 [pool-1-thread-4] ERROR i.m.c.k.e.KafkaListenerExceptionHandler - Kafka consumer [kafka.testing.service.kafka.KafkaTopicListener@adcfe50] produced error: No entry found for connection 0
java.lang.IllegalStateException: No entry found for connection 0
at org.apache.kafka.clients.ClusterConnectionStates.nodeState(ClusterConnectionStates.java:330)
at org.apache.kafka.clients.ClusterConnectionStates.disconnected(ClusterConnectionStates.java:134)
at org.apache.kafka.clients.NetworkClient.initiateConnect(NetworkClient.java:921)
at org.apache.kafka.clients.NetworkClient.ready(NetworkClient.java:287)
Is that the behaviour you are seeing too?
@KafkaListener
does not listen to all (or some - each run differs)@Topic
's , if at least one@Topic
is not authorized by the broker.Example kafka docker and service: https://github.com/AjiTae/micronaut-unauthorized-listener-issue