Kafka Source in Spring Cloud Data Flow

ε祈祈猫儿з 提交于 2019-12-05 02:40:27

问题


I am migrating from Spring XD to Spring Cloud Data Flow. When I am looking for module list I realised that some of the sources are not listed in Spring Cloud Flow - One of them is KAFKA source.

My question is why KAFKA source is removed from standard sources list in spring cloud data flow ?


回答1:


When I am looking for module list I realised that some of the sources are not listed in Spring Cloud Flow

Majority of the applications are ported over and the remaining are incrementally prioritized - you can keep track of the remaining subset in the backlog.

My question is why KAFKA source is removed from standard sources list in spring cloud data flow ?

Kafka is not removed and in fact, we are highly opinionated about Kafka in the context of streaming use-cases so much so that it is baked into the DSL directly. More details here.

For instance,

(i) if you've to consume from a Kafka topic (as a source), your stream definition would be:

stream create --definition ":someAwesomeTopic > log" --name subscribe_to_broker --deploy

(ii) if you've to write to a Kafka topic (as a sink), your stream definition would be:

stream create --definition "http --server.port=9001 > :someAwesomeTopic" --name publish_to_broker --deploy

(where *someAwesomeTopic* is the named destination, a topic name)



来源:https://stackoverflow.com/questions/38548384/kafka-source-in-spring-cloud-data-flow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!