2017-08-29 45 views
0

我正在尋找一個解決方案,使用maprstream與彈簧整合。我可以創建流和主題,也可以使用流:主題組合來消費/發佈消息。通過參考link來使用卡夫卡客戶端:maprsteam with spring integration java client

但是使用Spring集成努力消費/發佈消息,並且看不到任何解釋相同的示例程序。有人可以幫助我嗎?

回答

1

spring-integration-kafka 2.0(通過spring-kafka 1.0)使用0.9 Kafka API。

請參閱the compatibility matrix at the bottom of the project page

它沒有經過MapR測試。

+1

另外,你應該確定你確實排除了'kafka-clients'的依賴關係,並且包含'0.9.0.0-mapr-1602'版本。 –

+0

謝謝加里和阿爾喬姆。以下版本適用於我。 spring-integration-kafka.version => 2.0.0,spring-kafka.version => 1.0.0 – kattoor