strom-kafka簡單整合

官方文檔:http://storm.apache.org/releases/1.2.2/storm-kafka-client.html 原理: KafkaSpout封裝了一個kafka的消費者,通過簡單配置servers以及topic後即可自動從kafka消費數據,並通過自定義的輸出字段發送數據到bolt進行處理 pom.xml kafka和storm都使用了較新的版本 <dependencies
相關文章
相關標籤/搜索