我正在尝试在 Spring Boot 应用程序中添加 Kafka Avro 序列化和 Schema Registry Client 的 Confluent 依赖项。但是,当我尝试使用 Maven 构建项目时,出现以下错误:
在中心( https://repo.maven.apache.org/maven2)中找不到工件 io.confluent:kafka-schema-registry-client:pom:7.8.0
<!-- https://mvnrepository.com/artifact/io.confluent/kafka-avro-serializer -->
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-avro-serializer</artifactId>
<version>7.8.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.confluent/kafka-schema-registry-client -->
<dependency>
<groupId>io.confluent</groupId>
<artifactId>kafka-schema-registry-client</artifactId>
<version>7.8.0</version>
</dependency>