'Use Kafka Streams with Avro Schema Registry

I'm seeking kafka-stream usage with schema-registry. I have google and could't find proper tutorial.



Solution 1:[1]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1