Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error RdKafka\Conf::setDefaultTopicConf() is deprecated #23

Open
shreyasmsglob opened this issue Nov 15, 2019 · 8 comments
Open

Error RdKafka\Conf::setDefaultTopicConf() is deprecated #23

shreyasmsglob opened this issue Nov 15, 2019 · 8 comments

Comments

@shreyasmsglob
Copy link

I have followed the installation method as mentioned in the wiki. But when i run the app , it is throwing an error saying "Function RdKafka\Conf::setDefaultTopicConf() is deprecated".

@abdulspokesly
Copy link

I am getting the same error after running this command
export KAFKA_CONSUMER_GROUP_ID="group2" && php artisan queue:work --sleep=3 --tries=3

@shreyasmsglob
Copy link
Author

I am getting the same error after running this command
export KAFKA_CONSUMER_GROUP_ID="group2" && php artisan queue:work --sleep=3 --tries=3

hello did u do anything other than the things mentioned in wiki to start consumer and producer? and running the kafka server in local?

@petermein
Copy link
Collaborator

This should be a warning and not an error right?

I'm gonna check what they recommend using now instead of setDefaultTopicConf

@masssoud
Copy link

Any solution?

@hi-rad
Copy link

hi-rad commented Nov 23, 2019

@petermein this is not a warning. In the new version of rdkafka this throws an error

@Sadegh-Ameri
Copy link

I also have the same issue when I run php artisan queue:work

In KafkaConnector.php line 53:

  Function RdKafka\Conf::setDefaultTopicConf() is deprecated

My Kafka version is kafka_2.11-2.1.1 (Scala: 2.11, Kafka: 2.1.1)
I found Kafka version based on this post
https://stackoverflow.com/questions/27606065/how-to-find-the-kafka-version-in-linux

My rdkafka info in php info (php -i | grep rdkafka)

rdkafka
rdkafka support => enabled
librdkafka version (runtime) => 1.3.0-14-g1f3f46
librdkafka version (build) => 1.3.0.255

I hope this helps

@ShankarParimi
Copy link

Any Update on this?

@petermein
Copy link
Collaborator

Sorry, for the absence. I'm working on the next major feature adressing this issue
Follow my progress on the next branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

7 participants