From e2915d7ccccbd3113e382060be21c5b5d01710a1 Mon Sep 17 00:00:00 2001 From: Carles Arnal Date: Mon, 18 Dec 2023 12:22:56 +0100 Subject: [PATCH] Fix resource path for native test --- .../src/main/resources/application.properties | 4 ++-- .../src/main/resources/{org/acme/kafka => }/json-schema.json | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename kafka-json-schema-quickstart/src/main/resources/{org/acme/kafka => }/json-schema.json (100%) 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