Apache Kafka
Apache Kafka 是一个分布式流处理平台,它
- 允许你发布和订阅记录流。在这方面,它类似于消息队列或企业消息系统。
- 允许你以容错方式存储记录流。
- 允许你在记录流发生时处理它们。
安装
安装 kafka 软件包。
启动 kafka.service
,这应该也会自动启动/启用 zookeeper@kafka.service
。
Confluent Platform
要使用 Confluent Platform 或 Confluent Server,请安装 confluent-platformAUR 软件包。 confluent-platformAUR 安装以下服务
- ksqlDB -
confluent-ksqldb.service
- Schema Registry -
confluent-schema-registry.service
- REST Proxy -
confluent-kafka-rest.service
- Confluent Control Center -
confluent-control-center.service
- Confluent Server -
confluent-server.service
用法
有关用法,请参阅 官方文档
客户端
- C - librdkafka-gitAUR
- PHP - php-rdkafkaAUR
- Python - https://github.com/dpkp/kafka-python
- .Net - https://github.com/confluentinc/confluent-kafka-dotnet
- Go - https://github.com/confluentinc/confluent-kafka-go
有关其他客户端,请参阅 官方客户端列表。