Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-7263

Container exception java.lang.IllegalStateException: Coordinator selected invalid assignment protocol: null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None

    Description

      We are using  spring-kafka and we get an infinite loop error in ConsumerCoordinator.java;

      kafka cluster version: 1.0.0

      kafka-client version: 1.0.0

       

      2018-08-08 15:24:46,120 ERROR [org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer] - Container exception
      java.lang.IllegalStateException: Coordinator selected invalid assignment protocol: null
       at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.onJoinComplete(ConsumerCoordinator.java:217)
       at org.apache.kafka.clients.consumer.internals.AbstractCoordinator.joinGroupIfNeeded(AbstractCoordinator.java:367)
       at org.apache.kafka.clients.consumer.internals.AbstractCoordinator.ensureActiveGroup(AbstractCoordinator.java:316)
       at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.poll(ConsumerCoordinator.java:295)
       at org.apache.kafka.clients.consumer.KafkaConsumer.pollOnce(KafkaConsumer.java:1138)
       at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1103)
       at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:556)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.lang.Thread.run(Thread.java:745)
      2018-08-08 15:24:46,132 INFO [org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer] - Consumer stopped
      2018-08-08 15:24:46,230 INFO [org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer] - Consumer stopped
      2018-08-08 15:24:46,234 INFO [org.springfram

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              laomei laomei
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: