You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a Kafka client library for PHP ^7.4 and ^8.0 with a slim [librdkafka](https://github.com/confluentinc/librdkafka) binding via [FFI](https://www.php.net/manual/en/book.ffi.php).
12
+
This is a Kafka client library for PHP ^7.4 and ^8.0 with a slim [librdkafka](https://github.com/confluentinc/librdkafka) binding
13
+
via [FFI](https://www.php.net/manual/en/book.ffi.php).
13
14
14
15
It supports the same interfaces as the [PHP RdKafka extension](https://github.com/arnaud-lb/php-rdkafka) ^5.0 and ^6.0.
15
16
@@ -30,15 +31,19 @@ It supports the same interfaces as the [PHP RdKafka extension](https://github.co
30
31
* zend opcache extension for preloading
31
32
* pcntl extension for faster shutdown in request/response context
32
33
34
+
Note: From PHP 8.3 onwards, you must disable the stack overflow check by setting `zend.max_allowed_stack_size=-1` in your php.ini. This is
35
+
necessary because FFI callbacks are executed off the main thread, and the overflow checks do not handle this scenario properly.
36
+
33
37
Note: Support for macOS and Windows is experimental.
34
38
35
39
## Installation
36
40
37
41
composer require idealo/php-rdkafka-ffi
38
-
42
+
39
43
Note: Expect breaking changes along all 0.* pre-releases.
40
-
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.
41
-
44
+
This changes may depend on upcoming major releases of the RdKafka extension or improved interfaces for the experimental features like
45
+
transactional producer, mock cluster and admin client.
0 commit comments