虽然在构建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'
添加了以下错误之后。
这些依赖项在合用的存储库中(不在Maven Central中)。您将需要声明https://packages.confluent.io/maven/作为存储库。有关如何操作的信息,请参见this。