Error RdKafka\Conf::setDefaultTopicConf() is deprecated
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".
I am getting the same error after running this command
export KAFKA_CONSUMER_GROUP_ID="group2" && php artisan queue:work --sleep=3 --tries=3
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?
This should be a warning and not an error right?
I'm gonna check what they recommend using now instead of setDefaultTopicConf
Any solution?
@petermein this is not a warning. In the new version of rdkafka this throws an error
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
Any Update on this?
Sorry, for the absence. I'm working on the next major feature adressing this issue Follow my progress on the next branch