简体   繁体   English

带有avro模式注册表的Java kafka流的正确指南

[英]proper guide for java kafka stream with avro schema registry

I'm seeking for proper tutorial/guide for java kafka-stream with schema-registry. 我正在寻找具有架构注册表的Java kafka-stream的正确教程/指南。 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 我可以通过谷歌搜索找到kafka流教程。但是我正在使用schemaregistry寻找kafka流

The documentation is here https://docs.confluent.io/current/streams/developer-guide/datatypes.html#avro 该文档位于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 这里有很多示例代码https://github.com/confluentinc/kafka-streams-examples/tree/5.2.1-post/src/test/java/io/confluent/examples/streams

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Kafka Stream with Avro in JAVA , schema.registry.url&quot; 没有默认值 - Kafka Stream with Avro in JAVA , schema.registry.url" which has no default value 错误序列化 Avro 消息 - Kafka Schema Registry - Error serializing Avro message - Kafka Schema Registry Java gradle kafka-avro-serializer 和 kafka-schema-registry-client 在部署管道中下载失败 - Java gradle kafka-avro-serializer and kafka-schema-registry-client fails to download in the deployment pipeline 在 Spring 启动应用程序中使用来自 Confluent 的模式注册表与 Avro 和 Kafka - Using Schema Registry from Confluent with Avro and Kafka in Spring Boot Applications 使用 Avro Schema 注册表的 Kafka 消费者单元测试失败 - Kafka consumer unit test with Avro Schema registry failing 如何使用 Avro 序列化程序和架构注册表向 Kafka 发送消息 - How to send message to Kafka with Avro serializer and schema registry Kafka Avro 使用模式注册表将序列化/反序列化为具体类型失败 - Kafka Avro serialize/deserialize into concrete type using schema registry failing 使用默认架构注册表客户端而不是Avro架构注册表客户端的Spring Cloud Stream问题 - Issue with Spring Cloud Stream using the Default Schema Registry client instead of the Avro Schema Registry client Avro Schema与Kafka,ClassCastException? - Avro Schema with Kafka, ClassCastException? 使用 Hortonworks Schema Registry 读取 Java 应用程序中的 Avro 文件 - Reading Avro files in Java application with Hortonworks Schema Registry
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM