11 Star 93 Fork 15

龙之言 / phpkafka

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

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
  • SSL
  • SASL
  • 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.

Repository Comments ( 3 )

Sign in to post a comment

About

PHP Kafka 客户端,支持 PHP-FPM、Swoole 环境使用。 expand collapse
PHP and 2 more languages
Apache-2.0
Cancel

Releases

No release

phpkafka

Contributors

All

Activities

Load More
can not load any more
PHP
1
https://gitee.com/longzhiyan/phpkafka.git
git@gitee.com:longzhiyan/phpkafka.git
longzhiyan
phpkafka
phpkafka
master

Search

103111 552b83b3 1850385 103110 ed87a847 1850385