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

getting deprecation errors on Method RdKafka\\Conf::setDefaultTopicConf() #73

Open
haeber opened this issue Jul 28, 2022 · 1 comment
Open

Comments

@haeber
Copy link
Member

haeber commented Jul 28, 2022

In our kafka projects (rdkafka 6.0.3 with PHP 8.x, alpine 3.16) we get a lot of deprecation notices in our error_log.

PHP Deprecated:  Method RdKafka\\Conf::setDefaultTopicConf() is deprecated in /var/www/html/vendor/jobcloud/php-kafka-lib/src/Conf/KafkaConfiguration.php on line 95

I've seen that this is somehow already removed within #40 (but it's stale for 2 years).

Would be cool to not have this deprecation anymore in this lib.

Thanks in advance!

@nick-zh
Copy link
Contributor

nick-zh commented Jul 28, 2022

This happens if you use a low level consumer or one of these settings auto.commit.interval.ms or auto.offset.reset which are low level settings. But yeah it would be a good idea to deprecate the low level consumer, it should not be used anymore

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

2 participants