Skip to content

PHP Kafka client is used in PHP-FPM and Swoole. PHP Kafka client supports 50 APIs, which might be one that supports the most message types ever.

License

Notifications You must be signed in to change notification settings

swoole/phpkafka

Folders and files

NameName
Last commit message
Last commit date
Jan 10, 2022
Oct 14, 2020
Sep 11, 2021
Jun 24, 2021
Oct 14, 2020
Oct 13, 2023
Sep 11, 2021
Aug 26, 2021
Mar 22, 2023
Jun 24, 2021
Oct 25, 2020
Aug 26, 2021
Aug 26, 2021
Jan 10, 2022
Mar 14, 2021
Nov 22, 2020
Sep 23, 2020

Repository files navigation

longlang/phpkafka

Latest Version Php Version License

Introduction

English | 简体中文

PHP Kafka client is used in PHP-FPM and Swoole.

The communication protocol is based on the JSON file in Java. PHP Kafka client supports 50 APIs, which might be one that supports the most message types ever.

The produce and the consume of messages are implemented. The component is in developing and testing.

Features

  • Support all 50 APIs
  • Message compression
  • PHP-FPM and Swoole compatible
  • Producer
  • Consumer
  • SASL
  • SSL
  • More features and test cases

Environment

  • PHP >= 7.1
  • Kafka >= 1.0.0
  • Swoole >= 4.5 (optional)

Installation

composer require longlang/phpkafka

Documentation and Examples

Refer to examples for code examples.

About

PHP Kafka client is used in PHP-FPM and Swoole. PHP Kafka client supports 50 APIs, which might be one that supports the most message types ever.

Topics

Resources

License

Stars

Watchers

Forks

Languages