Skip to content

Commit

Permalink
Merge pull request #920 from kstekovi/WFLY-19359
Browse files Browse the repository at this point in the history
[WFLY-19359] bootable jar with kafka can produce a warning message
  • Loading branch information
emmartins authored May 27, 2024
2 parents 670c4c8 + 533e218 commit 7fd6160
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions microprofile-reactive-messaging-kafka/README-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,18 @@ data: three
// Bootable JAR
include::../shared-doc/build-and-run-the-quickstart-with-bootable-jar.adoc[leveloffset=+1]

[NOTE]
====
The following warning message may be seen when starting the {productName} bootable jar, due to the topic missing in Kafka:
```
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}
```
You may ignore this warning, yet to avoid it the topic may be manually created in advance, with the following command:
```
bin/kafka-topics.sh --create --topic testing --bootstrap-server localhost:9092
```
====

// OpenShift
include::../shared-doc/build-and-run-the-quickstart-with-openshift.adoc[leveloffset=+1]

Expand Down

0 comments on commit 7fd6160

Please sign in to comment.