kafka_ecosystem

From:https://dzone.com/articles/kafka-detailed-design-and-ecosystem

Apache Kafka 的核心要素有中介者,订阅主题,日志,分区还有集群,还包括像 MirrorMaker 这样的有关工具。Kafka 生态系统由 Kafka CoreKafka StreamsKafka ConnectKafka REST Proxy Schema Registry 组成。Kafka 生态系统的其他组件多数都来自 Confluent,它们并不属于 Apache。

  • Kafka Stream 是一套用于转换,聚集并处理来自数据流的记录并生成衍生的数据流的一套 API;
  • Kafka Connect 是一套用于创建可复用的生产者和消费者(例如,来自 DynamoDB 的更改数据流)的连接器的 API;
  • Kafka REST Proxy 则用于通过 REST(HTTP)生产者和消费者;
  • Schema Registry 则用于管理那些使用 Avro 来记录 Kafka 数据的模式;
  • 而 Kafka MirrorMaker 用于将集群的数据复制到另一个集群里去

https://lddpicture.oss-cn-beijing.aliyuncs.com/picture/image-20210722100727487.png

https://lddpicture.oss-cn-beijing.aliyuncs.com/picture/image-20210722101053177.png

https://lddpicture.oss-cn-beijing.aliyuncs.com/picture/image-20210722101209532.png

  • Kafka Connect Sources 是 Kafka 记录的来源,而 Kafka Connect Sinks 则是这一记录的目的地。

Kafka Connect

Kafka has a built-in framework called Kafka Connect for writing sources and sinks that either continuously ingest data into Kafka or continuously ingest data in Kafka into external systems. The connectors themselves for different applications or data systems are federated and maintained separately from the main code base. You can find a list of available connectors at the Kafka Connect Hub.

Distributions & Packaging

Stream Processing

Hadoop Integration

  • Confluent HDFS Connector - A sink connector for the Kafka Connect framework for writing data from Kafka to Hadoop HDFS
  • Camus - LinkedIn’s Kafka=>HDFS pipeline. This one is used for all data at LinkedIn, and works great.
  • Kafka Hadoop Loader A different take on Hadoop loading functionality from what is included in the main distribution.
  • Flume - Contains Kafka source (consumer) and sink (producer)
  • KaBoom - A high-performance HDFS data loader

Database Integration

Search and Query

  • ElasticSearch - This project, Kafka Standalone Consumer will read the messages from Kafka, processes and index them in ElasticSearch. There are also several Kafka Connect connectors for ElasticSeach.
  • Presto - The Presto Kafka connector allows you to query Kafka in SQL using Presto.
  • Hive - Hive SerDe that allows querying Kafka (Avro only for now) using Hive SQL

Management Consoles

  • Kafka Manager - A tool for managing Apache Kafka.
  • kafkat - Simplified command-line administration for Kafka brokers.
  • Kafka Web Console - Displays information about your Kafka cluster including which nodes are up and what topics they host data for.
  • Kafka Offset Monitor - Displays the state of all consumers and how far behind the head of the stream they are.
  • Capillary – Displays the state and deltas of Kafka-based Apache Storm topologies. Supports Kafka >= 0.8. It also provides an API for fetching this information for monitoring purposes.
  • Doctor Kafka - Service for cluster auto healing and workload balancing.
  • Cruise Control - Fully automate the dynamic workload rebalance and self-healing of a Kafka cluster.
  • Burrow - Monitoring companion that provides consumer lag checking as a service without the need for specifying thresholds.
  • Chaperone - An audit system that monitors the completeness and latency of data stream.

AWS Integration

Logging

Flume - Kafka plugins

Metrics

Packing and Deployment

Kafka Camel Integration

Misc.

0%