不多说,直接上干货! 一切来源于官网 http://kafka.apache.org/documentation/ Website Activity Tracking 网站活动追踪 The original use case for Kafka was to be able to rebuild a user activity tracking pipeline as a set of real-time publish-subscribe feeds. This means site acti…
不多说,直接上干货! 一切来源于官网 http://kafka.apache.org/documentation/ Topics and Logs 话题和日志 (Topic和Log) Let's first dive into the core abstraction Kafka provides for a stream of records—the topic. 让我们更深入的了解Kafka中的Topic. A topic is a category or feed name to whic…
网站行为跟踪 Website Activity Tracking 访客信息处理 Log Aggregation 日志聚合 Apache Kafka http://kafka.apache.org/uses In comparison to log-centric systems like Scribe or Flume Scribe or Flume 是以日志处理为中心 Use cases Here is a description of a few of the popular us…
不多说,直接上干货! 一切来源于官网 http://kafka.apache.org/documentation/ Step 8: Use Kafka Streams to process data Step : 使用Kafka Stream来处理数据 Kafka Streams is a client library of Kafka for real-time stream processing and analyzing data stored in Kafka brokers. This…
不多说,直接上干货! 一切来源于官网 http://kafka.apache.org/documentation/ Step 7: Use Kafka Connect to import/export data Step : 使用 Kafka Connect 来 导入/导出 数据 Writing data from the console and writing it back to the console is a convenient place to start, but you'll p…
不多说,直接上干货! 一切来源于官网 http://kafka.apache.org/documentation/ Step 6: Setting up a multi-broker cluster Step : 设置多个broker集群 So far we have been running against a single broker, but that's no fun. For Kafka, a single broker is just a cluster of size one,…
不多说,直接上干货! 一切来源于官网 http://kafka.apache.org/documentation/ Step 4: Send some messages Step : 发送消息 Kafka comes with a command line client that will take input from a file or from standard input and send it out as messages to the Kafka cluster. By defau…
不多说,直接上干货! 一切来源于官网 http://kafka.apache.org/documentation/ Step 2: Start the server Step : 启动服务 Kafka uses ZooKeeper so you need to first start a ZooKeeper server if you don't already have one. You can use the convenience script packaged with kafka to…
不多说,直接上干货! 一切来源于官网 http://kafka.apache.org/documentation/ Kafka for Stream Processing kafka的流处理 It isn't enough to just read, write, and store streams of data, the purpose is to enable real-time processing of streams. 仅仅读,写和存储是不够的,kafka的目标是实时的流处理. In…