Closed Meemaw closed 4 years ago
Sorry for the very long delay. I believe the issue has been fixed and we forgot to close this issue.
Below is the list of what I've successfully tried. I ran my Kafka broker on localhost:9093
(while the default is localhost:9092
). My application.properties
contains:
kafka.bootstrap.servers=${KAFKA_BOOTSTRAP_SERVERS:localhost:9092}
KAFKA_BOOTSTRAP_SERVERS
to localhost:9093
and running the application from the jar file -> the application connects to the broker (localhost:9093)java -Dkafka.bootstrap.servers=localhost:9093 target/...-runner.jar
-> the application connects to the broker (localhost:9093)java target/...-runner.jar
-> the application connects to the broker (localhost:9092), and fails because it's not running on this portKAFKA_BOOTSTRAP_SERVERS
to localhost:9093
and running the application in dev mode -> the application connects to the broker (localhost:9093)mvn quarkus:dev -Dkafka.bootstrap.servers=localhost:9093
-> the application connects to the broker (localhost:9093)If you still notice the issue, please re-open it.
Describe the bug It seems that
kafka.bootstrap.servers
is not properly propagated to the underlying systems? I'm trying to configure it throughapplication.properties
. On service startup I can see a log confirming that this is happening (kafka:9092
):However later I can see logs like this (
localhost/127.0.0.1:9092
). Those start appearing after trying to send messages to@Channel
throughorg.eclipse.microprofile.reactive.messaging.Emitter
:Expected behavior
kafka.bootstrap.servers
should get properly propagated.Configuration
Screenshots (If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
java -version
: openjdk version "14" 2020-03-17mvnw --version
orgradlew --version
): Gradle 6.3.0