All Projects → idealo → php-rdkafka-ffi

idealo / php-rdkafka-ffi

Licence: Apache-2.0 License
PHP Kafka client - binding librdkafka via FFI

Programming Languages

PHP
23972 projects - #3 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to php-rdkafka-ffi

ext-psi
PHP System Interface (aka FFI)
Stars: ✭ 24 (-51.02%)
Mutual labels:  ffi, php-ffi
php-ffi-rust
PHP7.4 + Rust
Stars: ✭ 28 (-42.86%)
Mutual labels:  ffi, php-ffi
php-fuse
PHP FFI bindings for libfuse
Stars: ✭ 53 (+8.16%)
Mutual labels:  ffi, php-ffi
ffi-clang
Ruby FFI bindings for libclang 3.4+.
Stars: ✭ 41 (-16.33%)
Mutual labels:  ffi
clr-loader
Loader for different .NET runtimes
Stars: ✭ 16 (-67.35%)
Mutual labels:  ffi
docker-php-fpm-7.4
PHP-FPM 7.4 Docker Image (base image only)
Stars: ✭ 69 (+40.82%)
Mutual labels:  php74
PointerScript
Scripting language with pointers and native library access.
Stars: ✭ 26 (-46.94%)
Mutual labels:  ffi
lua-resty-openssl
FFI-based OpenSSL binding for OpenResty
Stars: ✭ 76 (+55.1%)
Mutual labels:  ffi
windigo
Windows API and GUI in idiomatic Go.
Stars: ✭ 187 (+281.63%)
Mutual labels:  ffi
cargo-valgrind
A cargo subcommand, that runs valgrind and displays its output in a helpful manner.
Stars: ✭ 66 (+34.69%)
Mutual labels:  ffi
opencl-ruby
OpenCL bindings for Ruby
Stars: ✭ 38 (-22.45%)
Mutual labels:  ffi
php-currency-api
Standardized wrapper for popular currency rate APIs. Currently supports FixerIO, CurrencyLayer, Open Exchange Rates and Exchange Rates API.
Stars: ✭ 17 (-65.31%)
Mutual labels:  php74
mdserver-web
Simple Linux Panel
Stars: ✭ 1,064 (+2071.43%)
Mutual labels:  php74
ol
Otus Lisp (Ol in short) is a purely* functional dialect of Lisp.
Stars: ✭ 157 (+220.41%)
Mutual labels:  ffi
lonlat bng
A multithreaded Rust library with FFI for converting WGS84 longitude and latitude coordinates into BNG (OSGB36) Eastings and Northings and vice versa (using OSTN15)
Stars: ✭ 20 (-59.18%)
Mutual labels:  ffi
rust-flutter-reactive
This is a sample app to improve consistency over Mobile App Development.
Stars: ✭ 25 (-48.98%)
Mutual labels:  ffi
buke
full text search manpages
Stars: ✭ 27 (-44.9%)
Mutual labels:  ffi
simplepie-ng
Don't use this yet.
Stars: ✭ 41 (-16.33%)
Mutual labels:  php74
pasvl
Array Validator (regular expressions for arrays, sort of)
Stars: ✭ 40 (-18.37%)
Mutual labels:  php74
pony-sodium
Safe Pony FFI wrapper for the libsodium cryptography library. 🐴 🔐
Stars: ✭ 24 (-51.02%)
Mutual labels:  ffi

PHP Kafka Client

Build Extension Compatibility Build macOS Build Windows

Test Coverage Maintainability Packagist

This is a Kafka client library for PHP ^7.4 with a slim librdkafka binding via FFI.

It supports the same interfaces as the PHP RdKafka extension ^4.0 and ^5.0.

Supported Features

  • Consumer (low and high level)
  • Producer (with support for transactional producing)
  • Admin Client
  • Mock Cluster to simplify integration tests (even with error situations)
  • Support for error handling and logging via callbacks

Runtime Requirements

  • PHP ^7.4 or ^8.0 with extensions FFI enabled
  • librdkafka ^1.0.0
  • Conflicts: RdKafka extension
  • Suggested:
    • zend opcache extension for preloading
    • pcntl extension for faster shutdown in request/response context

Note: Support for macOS and Windows is currently experimental.

Installation

composer require idealo/php-rdkafka-ffi

Note: Expect breaking changes along all 0.* pre-releases. This changes may depend on upcoming major releases of the RdKafka extension or improved interfaces for the experimental features like transactional producer, mock cluster and admin client.

Documentation

https://idealo.github.io/php-rdkafka-ffi/

Changelog

See Changelog for details.

Contributing

We welcome all kinds of contributions. See the Contribution guide for more details.

License

See License for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].