2.3 Streams API 官網剖析(博主推薦)

weixin_30924079發表於2020-04-04

 

不多說,直接上乾貨!

 

  一切來源於官網

http://kafka.apache.org/documentation/

 

 

 

 

 

 

 

 

2.3 Streams API

2.3 Streams API

 

 

在0.10.0增加了一個新的客戶端庫,Kafka Stream,Kafka Stream具有Alpha的優點,你可以使用maven引入到你的專案:

 

 

The Streams API allows transforming streams of data from input topics to output topics.

 

Examples showing how to use this library are given in the javadocs

 

Additional documentation on using the Streams API is available here.

 

To use Kafka Streams you can use the following maven dependency:

對於使用kafka流,你可以使用以下的maven依賴
		<dependency>
			<groupId>org.apache.kafka</groupId>
			<artifactId>kafka-streams</artifactId>
			<version>0.10.2.0</version>
		</dependency>
	




如何使用,請見如下。

KafkaStreams客戶端(0.10.0.0 API)

http://orchome.com/305
 
  (注意,@InterfaceStability.Unstable註解的類,是公共API,在未來可能改變,不保證向後相容)
 
 
 
 
 
 
 

使用Kafka Stream處理資料

http://orchome.com/300

 



 
 

 

轉載於:https://www.cnblogs.com/zlslch/p/6768427.html

相關文章