kafkatopicprovisioner-未能创建主题2021-04-27t08:48:12.806690772z org.apache.kafka.common.errors.policyviolationexception:服务无法处理请求;请重试该操作。有关异常类型和正确的异常处理的详细信息,请参阅http://go.microsoft.com/fwlink/?linkid=761101
我在使用springboot、eventhub和kafka时遇到了上述问题。下面是我关注的依赖关系。
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-stream-kafka</artifactId>
<version>2.0.1.RELEASE</version>
<exclusions>
<exclusion>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>spring-cloud-azure-starter-eventhub</artifactId>
<version>1.0.0.M2</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</exclusion>
</exclusions>
</dependency>
暂无答案!
目前还没有任何答案,快来回答吧!