无法解决gradle中融合的kafka依赖关系?

问题描述 投票:0回答:1

虽然在构建gradle文件中添加了对融合kafka的依赖关系,但无法解决。

   compile group: 'io.confluent', name: 'kafka-avro-serializer', version: '4.0.0'
   compile group: 'io.confluent', name: 'kafka-schema-registry', version: '4.0.0'
   compile 'io.confluent:kafka-schema-registry:4.0.0:tests'

添加了以下错误之后。

enter image description here

apache-kafka confluent confluent-schema-registry confluent-kafka
1个回答
0
投票

这些依赖项在合用的存储库中(不在Maven Central中)。您将需要声明https://packages.confluent.io/maven/作为存储库。有关如何操作的信息,请参见this

© www.soinside.com 2019 - 2024. All rights reserved.