2017-02-07 57 views
0

首先,感謝Spring團隊推動這項工作的所有工作!使用Spring引導配置Camden.SR5中的Spring雲流1.5.1

既然Camden.SR5是官方的,那麼在使用Spring Boot 1.5.1時,如何正確配置spring雲流kafka聯編程序有一些問題。

Spring Boot 1.5.1自動配置kafka,這些配置選項似乎與春季雲流kafka活頁夾中的配置選項是多餘的。

我們是否使用核心彈簧引導屬性(spring.kafka。)或者我們使用(spring.cloud.stream.kafka.binder。)?

我確實發現了這個問題,但我很好奇這部作品是否會包含在下一個Camden版本中?

https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/73

此外,我看到了這個問題的報道對堆棧溢出,我相信這也將是與Camden.SR5的問題嗎?

Failed to start bean 'inputBindingLifecycle' when using spring-boot:1.5.1 and spring-cloud-stream

感謝

回答

1

支持引導1.5配置選項是在進步的問題。此外,由於專用1.5支持僅在Spring Cloud Stream Chelsea發佈版本(包含在Spring Cloud的Dalston發行版中)中提供,因此僅在那裏可用。

此外,使用Spring雲卡姆登與引導1.5,當你需要重寫爲Failed to start bean 'inputBindingLifecycle' when using spring-boot:1.5.1 and spring-cloud-stream描述的卡夫卡依賴。在未來版本的Spring Cloud Stream(和Spring Cloud)中將避免這種情況,但只能從Spring Cloud發佈的Spring Cloud發佈流(以及Spring Cloud的Dalston發佈版)開始 - 詳情請參見https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/88

+0

感謝您的快速反饋。 – Tyler