diff --git a/kafka-json-schema-quickstart/pom.xml b/kafka-json-schema-quickstart/pom.xml index e2c0dd1131..9eec7735b8 100644 --- a/kafka-json-schema-quickstart/pom.xml +++ b/kafka-json-schema-quickstart/pom.xml @@ -32,15 +32,15 @@ io.quarkus - quarkus-resteasy-reactive + quarkus-rest io.quarkus - quarkus-smallrye-reactive-messaging-kafka + quarkus-messaging-kafka io.quarkus - quarkus-resteasy-reactive-jackson + quarkus-rest-jackson io.quarkus @@ -62,7 +62,7 @@ io.quarkus - quarkus-rest-client-reactive + quarkus-rest-client test diff --git a/kafka-json-schema-quickstart/src/main/resources/application.properties b/kafka-json-schema-quickstart/src/main/resources/application.properties index 63d4a15f20..6caac8e655 100644 --- a/kafka-json-schema-quickstart/src/main/resources/application.properties +++ b/kafka-json-schema-quickstart/src/main/resources/application.properties @@ -1,15 +1,15 @@ kafka.auto.offset.reset=earliest +quarkus.native.resources.includes=json-schema.json quarkus.reactive-messaging.kafka.serializer-autodetection.enabled=false # set the topic name for the incoming channel to `movies`, as it's not the channel name mp.messaging.incoming.movies-from-kafka.topic=movies -mp.messaging.incoming.movies-from-kafka.value.serializer=io.apicurio.registry.serde.jsonschema.JsonSchemaKafkaSerializer mp.messaging.incoming.movies-from-kafka.value.deserializer=io.apicurio.registry.serde.jsonschema.JsonSchemaKafkaDeserializer mp.messaging.outgoing.movies.apicurio.registry.auto-register=true -mp.messaging.outgoing.movies.apicurio.registry.artifact.schema.location=/org/acme/kafka/json-schema.json +mp.messaging.outgoing.movies.apicurio.registry.artifact.schema.location=json-schema.json mp.messaging.outgoing.movies.value.serializer=io.apicurio.registry.serde.jsonschema.JsonSchemaKafkaSerializer mp.messaging.outgoing.movies.value.deserializer=io.apicurio.registry.serde.jsonschema.JsonSchemaKafkaDeserializer diff --git a/kafka-json-schema-quickstart/src/main/resources/org/acme/kafka/json-schema.json b/kafka-json-schema-quickstart/src/main/resources/json-schema.json similarity index 100% rename from kafka-json-schema-quickstart/src/main/resources/org/acme/kafka/json-schema.json rename to kafka-json-schema-quickstart/src/main/resources/json-schema.json