Skip to content

Commit

Permalink
[WFLY-19359] bootable jar with kafka can produce a warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
kstekovi committed May 27, 2024
1 parent 3312dd7 commit 533e218
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 @@ -971,6 +971,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 533e218

Please sign in to comment.