Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19359

Bootable jar with microprofile-reactive-messaging-kafka QS produce a warning message

XMLWordPrintable

    • Workaround Exists
    • Hide

      manually create a topic in Kafka service before a bootable jar is start by following command: 

      bin/kafka-topics.sh --create --topic testing --bootstrap-server localhost:9092
      Show
      manually create a topic in Kafka service before a bootable jar is start by following command:  bin/kafka-topics.sh --create --topic testing --bootstrap-server localhost:9092
    • ---
    • ---

      A bootable jar with microprofile-reactive-messaging-kafka QS produce a warning message at start. 

      WARN  [org.apache.kafka.clients.NetworkClient] (smallrye-kafka-consumer-thread-0) [Consumer clientId=kafka-consumer-from-kafka, groupId="microprofile-reactive-messaging-kafka-group-id"] Error while fetching metadata with correlation id 2 : {testing=LEADER_NOT_AVAILABLE} 

      The Kafka service is available but the topic "testing" is doesn't exist. 

              rhn-support-kstekovi Krystof Stekovic
              rhn-support-kstekovi Krystof Stekovic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: