-
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Details:
- PHP version: 7.4
- librdkafka version: v2.1.1 (Latest version from source)
- simple-kafka-client version: Release v0.1.4 and Latest master branch version from source.. But the issue is I can't run it, pecl or source
- kafka version: 3.8 (latest version MSK supports)
I had a whole lot of issues trying to install the simple-kafka-client, having to install librdkafka from source.
Then whilst the PHP extension simple_kafka_client installed OK on my Ubuntu machine, it failed on AMI Linux 2.
To be specific, it make and make installed fine, but PHP would error saying "undefined symbol: rd_kafka_error_is_retriable" and wouldn't run the library.
More details:
https://www.kublermdk.com/2023/05/19/installing-php-simple-kafka-lib-librdkafka-version-issues/
I wanted to let you know that I've had a whole lot of issues just trying to set this up.
I don't think I'd be the only person trying PHP and Kafka, but it seems like there aren't many of us.
Steps to replicate:
- Setup an Amazon EC2 server running AMI Linux 2 (e.g via Elastic Beanstalk)
- Install PHP v7.4
- Install librdkafka from source
- Install the simple-kafka-client via pecl or source
- Run PHP (e.g php -v) from the command line
- There's an error undefined symbol: rd_kafka_error_is_retriable
Metadata
Metadata
Assignees
Labels
No labels