<

疖子是什么

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

百度 可以说,从实力和经验来看,她在7位中国女单选手中排名中下游。

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.

代偿期和失代偿期是什么意思 端午节为什么吃粽子 前列腺钙化是什么病 雷锋代表什么生肖 头晕是什么引起的
乌龙茶属于什么茶 秦始皇叫什么名字 服中药期间忌吃什么 先自度其足的度是什么意思 毛豆有什么营养价值
血脂高是什么原因引起 皮肤瘙痒是什么病的前兆 小肚胀是什么原因 结扎后需要注意什么 助听器什么牌子好用
白带豆腐渣状是什么原因造成的 器质性疾病是什么意思 埋伏牙是什么意思 尿酸ua偏高是什么意思 圣诞节的礼物什么时候送
公共关系是什么意思hcv9jop8ns1r.cn 吓得什么填空hcv9jop5ns1r.cn 19年是什么年xinjiangjialails.com 查肝肾功能挂什么科hcv9jop4ns3r.cn 思是什么生肖hcv9jop4ns5r.cn
怀疑心衰做什么检查hcv9jop1ns8r.cn 木糖醇是什么hcv9jop6ns9r.cn 碱性体质的人有什么特征hcv8jop0ns2r.cn 月经量太少是什么原因引起的ff14chat.com 瑶五行属性是什么hcv9jop6ns5r.cn
考研复试是什么意思hcv8jop6ns3r.cn 冠状沟有白色分泌物是什么原因hcv9jop2ns2r.cn 胰腺饱满是什么意思hcv8jop7ns1r.cn 拔得头筹是什么意思hcv9jop5ns9r.cn 为什么会闪电hcv8jop2ns4r.cn
肛门下坠是什么原因sanhestory.com 手麻抽筋是什么原因引起的hcv9jop4ns5r.cn 十八岁成人礼送什么礼物hcv8jop2ns2r.cn 去医院打耳洞挂什么科hcv9jop0ns2r.cn 被隐翅虫咬了涂什么药hcv9jop5ns2r.cn
百度