<

任鲁豫、佟铁鑫演唱歌曲《父子》

Kafka 4.0 Documentation

Prior releases: 0.7.x, 0.8.0, 0.8.1.X, 0.8.2.X, 0.9.0.X, 0.10.0.X, 0.10.1.X, 0.10.2.X, 0.11.0.X, 1.0.X, 1.1.X, 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, 2.5.X, 2.6.X, 2.7.X, 2.8.X, 3.0.X, 3.1.X, 3.2.X, 3.3.X, 3.4.X, 3.5.X, 3.6.X, 3.7.X, 3.8.X, 3.9.X.

1. Getting Started

1.1 Introduction

1.2 Use Cases

百度   该发言人称,关于301调查,中方已经多次明确表明立场。

Here is a description of a few of the popular use cases for Apache Kafka®. For an overview of a number of these areas in action, see this blog post.

Messaging

Kafka works well as a replacement for a more traditional message broker. Message brokers are used for a variety of reasons (to decouple processing from data producers, to buffer unprocessed messages, etc). In comparison to most messaging systems Kafka has better throughput, built-in partitioning, replication, and fault-tolerance which makes it a good solution for large scale message processing applications.

In our experience messaging uses are often comparatively low-throughput, but may require low end-to-end latency and often depend on the strong durability guarantees Kafka provides.

In this domain Kafka is comparable to traditional messaging systems such as ActiveMQ or RabbitMQ.

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 activity (page views, searches, or other actions users may take) is published to central topics with one topic per activity type. These feeds are available for subscription for a range of use cases including real-time processing, real-time monitoring, and loading into Hadoop or offline data warehousing systems for offline processing and reporting.

Activity tracking is often very high volume as many activity messages are generated for each user page view.

Metrics

Kafka is often used for operational monitoring data. This involves aggregating statistics from distributed applications to produce centralized feeds of operational data.

Log Aggregation

Many people use Kafka as a replacement for a log aggregation solution. Log aggregation typically collects physical log files off servers and puts them in a central place (a file server or HDFS perhaps) for processing. Kafka abstracts away the details of files and gives a cleaner abstraction of log or event data as a stream of messages. This allows for lower-latency processing and easier support for multiple data sources and distributed data consumption. In comparison to log-centric systems like Scribe or Flume, Kafka offers equally good performance, stronger durability guarantees due to replication, and much lower end-to-end latency.

Stream Processing

Many users of Kafka process data in processing pipelines consisting of multiple stages, where raw input data is consumed from Kafka topics and then aggregated, enriched, or otherwise transformed into new topics for further consumption or follow-up processing. For example, a processing pipeline for recommending news articles might crawl article content from RSS feeds and publish it to an "articles" topic; further processing might normalize or deduplicate this content and publish the cleansed article content to a new topic; a final processing stage might attempt to recommend this content to users. Such processing pipelines create graphs of real-time data flows based on the individual topics. Starting in 0.10.0.0, a light-weight but powerful stream processing library called Kafka Streams is available in Apache Kafka to perform such data processing as described above. Apart from Kafka Streams, alternative open source stream processing tools include Apache Storm and Apache Samza.

Event Sourcing

Event sourcing is a style of application design where state changes are logged as a time-ordered sequence of records. Kafka's support for very large stored log data makes it an excellent backend for an application built in this style.

Commit Log

Kafka can serve as a kind of external commit-log for a distributed system. The log helps replicate data between nodes and acts as a re-syncing mechanism for failed nodes to restore their data. The log compaction feature in Kafka helps support this usage. In this usage Kafka is similar to Apache BookKeeper project.

1.3 Quick Start

1.4 Ecosystem

There are a plethora of tools that integrate with Kafka outside the main distribution. The ecosystem page lists many of these, including stream processing systems, Hadoop integration, monitoring, and deployment tools.

1.5 Upgrading From Previous Versions

1.6 KRaft vs ZooKeeper

1.7 Compatibility

1.8 Docker

2. APIs

3. Configuration

4. Design

5. Implementation

6. Operations

7. Security

8. Kafka Connect

9. Kafka Streams

Kafka Streams is a client library for processing and analyzing data stored in Kafka. It builds upon important stream processing concepts such as properly distinguishing between event time and processing time, windowing support, exactly-once processing semantics and simple yet efficient management of application state.

Kafka Streams has a low barrier to entry: You can quickly write and run a small-scale proof-of-concept on a single machine; and you only need to run additional instances of your application on multiple machines to scale up to high-volume production workloads. Kafka Streams transparently handles the load balancing of multiple instances of the same application by leveraging Kafka's parallelism model.

To learn more about Kafka Streams, visit the Kafka Streams page.

沪深300是什么意思 最多笔画的汉字是什么 痛风吃什么食物好 二胎政策什么时候开放的 胎监是检查什么的
促排卵针什么时候打 五心烦热是什么意思 属兔的婚配什么属相好 昕字取名什么寓意 10月是什么季节
属猴和什么属相相克 基数大是什么意思 舅舅的孩子叫什么 上海市委书记什么级别 吃什么东西养胃最有效
上发条是什么意思 什么样的西瓜甜 什么是用神 康字五行属什么 宣府是现在的什么地方
呕吐挂什么科hcv8jop2ns6r.cn 中国第一大姓是什么huizhijixie.com pigeon是什么牌子自行车hcv8jop9ns2r.cn 金融bp是什么意思hcv8jop7ns2r.cn 手突然发痒是什么原因hcv7jop5ns1r.cn
君王是什么生肖hcv7jop5ns3r.cn 一次不忠终身不用什么意思hcv9jop6ns1r.cn 菩提子是什么树的种子bfb118.com 马赫是什么意思hcv9jop0ns5r.cn 看喉咙挂什么科hcv9jop0ns3r.cn
眼睛有重影是什么原因hcv9jop4ns2r.cn 石化是什么意思yanzhenzixun.com 摩羯座和什么座最配hcv9jop1ns4r.cn 属牛男最在乎女人什么hcv9jop2ns1r.cn bm是什么牌子hcv9jop2ns1r.cn
鼻子上的痣有什么寓意cl108k.com 巴豆是什么hcv8jop4ns1r.cn 乳腺腺体是什么hcv7jop5ns1r.cn 男头发稀少适合什么发型wuhaiwuya.com 农历八月十三是什么星座xscnpatent.com
百度