kafka 和spring boot 整合報錯

kafka org.apache.kafka.common.errors.TimeoutException

[Consumer clientId=consumer-1, groupId=local_test] Sending READ_UNCOMMITTED fetch for partitions [test-0] to broker

在服務器上安裝kafka,每次不是超時,就是報上面這個莫名其妙的錯誤....各種改,兩三天都沒解決.

<parent>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-parent</artifactId>
   <version>2.0.0.RELEASE</version>
   <relativePath/> <!-- lookup parent from repository -->
</parent>
2.0.0  版本修改 1.5.9  就可以了.版本不兼容的問題.spring boot  版本跑的太快,除非手動指定版本.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章