• 2.3 Streams API 官网剖析(博主推荐)


    不多说,直接上干货!

      一切来源于官网

    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


     
     
    
    
    
  • 相关阅读:
    Git 操作
    SVN
    一维数组
    常见的数学方法
    常用事件
    function函数
    while;do while; for循环
    JS中的变量提升
    关于js的单双引号嵌套问题
    db.collection is not a function
  • 原文地址:https://www.cnblogs.com/zlslch/p/6768427.html
Copyright © 2020-2023  润新知