1
- # set the URL of the Apicurio Schema Registry, a global setting shared between all Kafka producers and consumers
2
- mp.messaging.connector.smallrye-kafka.apicurio.registry.url =http://localhost:8081/apis/registry/v2
3
-
4
1
# set the connector to use for the `movies` channel to smallrye-kafka
5
2
mp.messaging.outgoing.movies.connector =smallrye-kafka
6
3
7
4
# the name of the corresponding Kafka topic to `movies`
8
5
mp.messaging.outgoing.movies.topic =movies
9
6
10
- # set the serializer for the `movies` channel to the Apicurio Avro Serializer
11
- mp.messaging.outgoing.movies.value.serializer =io.apicurio.registry.serde.avro.AvroKafkaSerializer
12
-
13
7
# automatically register the schema with the registry, if not present
14
8
mp.messaging.outgoing.movies.apicurio.registry.auto-register =true
15
9
@@ -19,15 +13,10 @@ mp.messaging.incoming.movies-from-kafka.connector=smallrye-kafka
19
13
# set the topic name for the channel to `movies`
20
14
mp.messaging.incoming.movies-from-kafka.topic =movies
21
15
22
- # set the deserializer for the `movies-from-kafka` channel to the Apicurio Avro Deserializer
23
- mp.messaging.incoming.movies-from-kafka.value.deserializer =io.apicurio.registry.serde.avro.AvroKafkaDeserializer
24
-
25
16
# disable auto-commit, Reactive Messaging handles it itself
26
17
mp.messaging.incoming.movies-from-kafka.enable.auto.commit =false
27
18
28
19
mp.messaging.incoming.movies-from-kafka.auto.offset.reset =earliest
29
20
mp.messaging.incoming.movies-from-kafka.apicurio.registry.use-specific-avro-reader =true
30
21
31
- # TODO: this should not be needed, but Avro does not seem to use the correct CL
32
- # This will also cause dev mode issues
33
- quarkus.test.flat-class-path =true
22
+ %prod.mp.messaging.connector.smallrye-kafka.apicurio.registry.url =http://localhost:8081/apis/registry/v2
0 commit comments