Closed sombraglez closed 2 years ago
+1 to this as well as this affects the superheroes sample app (https://github.com/quarkusio/quarkus-super-heroes). That app is using Quarkus version 2.7.3.Final.
/cc @cescoffier @carlesarnal
@edeandrea @sombraglez - See https://github.com/quarkusio/quarkus/pull/24142.
@sombraglez thank you for the reproducer!
/cc @cescoffier, @ozangunalp
Describe the bug
Currently I'm trying to connect two simple Quarkus services using the default DevServices as Kafka broker and schema registry. According to the logs both services can successfully find the DevServices, which are automatically started by Quarkus. However, by trying to send a first message into the configured topic the following error occurs:
This error only occurs on the Quarkus service (consumer or producer), which connects to an already existing Apicurio Registry started as Devservice.
Expected behavior
Multiple Quarkus Services in Dev mode can connect to an existing Apicurio Registry DevService automatically started by one of them
Actual behavior
The configured URL to an Apicurio Registry DevService contains no protocol for those services, which try to connect an existing instance of the DevService
How to Reproduce?
Using following consumer and producer services:
https://github.com/sombraglez/quarkus-kafka-avro-schema-consumer https://github.com/sombraglez/quarkus-kafka-avro-schema-producer
quarkus-kafka-avro-schema-consumer
in Dev modemvn quarkus:dev
quarkus-kafka-avro-schema-producer
in Dev modemvn quarkus:dev
http://localhost:8081/consumed-movies
http://localhost:8080/movies
Output of
uname -a
orver
No response
Output of
java -version
openjdk 11.0.14 2022-01-18 LTS
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.7.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.2
Additional information
No response