简体   繁体   中英

proper guide for java kafka stream with avro schema registry

I'm seeking for proper tutorial/guide for java kafka-stream with schema-registry. I have google and could't find proper tutorial. I really appriciate if anybody can help me to find out atleast proper tutorial

I could find kafka stream tutorial by googling.But i'm looking for kafka stream with schemaregistry

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 https://github.com/confluentinc/kafka-streams-examples/tree/5.2.1-post/src/test/java/io/confluent/examples/streams

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM