Reputation: 493
I'm seeking kafka-stream usage with schema-registry. I have google and could't find proper tutorial.
Upvotes: 2
Views: 5397
Reputation: 191743
The documentation is here https://docs.confluent.io/current/streams/developer-guide/datatypes.html#avro
This is the dependency
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-streams-avro-serde</artifactId>
<version>${confluent.version}</version>
</dependency>
Make sure you add the repository
<repositories>
<repository>
<id>confluent</id>
<url>https://packages.confluent.io/maven/</url>
</repository>
</repositories>
Lots of example code in here. Not all of it uses Avro
https://github.com/confluentinc/kafka-streams-examples/tree/5.2.1-post/src/test/java/io/confluent/examples/streams
Upvotes: 7