0
点赞
收藏
分享

微信扫一扫

一个kafka的bug:StringDeserializer could not be found ,kafka 版 2.6.6


近期用了个新版本的 spring-boot:

所以 kafka 也上到了 2.6.6 ,于是乎遇到了题目上的问题,全网大部分的解决方案见下链接:

​​https://www.it610.com/article/1294134785026891776.htm​​


​​https://stackoverflow.com/questions/37363119/kafka-producer-org-apache-kafka-common-serialization-stringserializer-could-no/50981469#50981469​​

这个:

​​https://stackoverflow.com/questions/43331225/springxd-error-when-deploying-stream-stringdeserializer-class-could-not-be-foun​​

解决方式比较特殊:“I resolved my problem as follows: After having replaced the ​​kafka-clients​​ PLUS having added ​​provided​​​ scope to the ​​kafka-clients​​ dependency in my pom file, my consumer is working properly (so far)”   

没有实践成功

 


 

 

 

 

 

 

举报

相关推荐

0 条评论