Skip to content

[rdkafka] RdKafka\Conf::setDefaultTopicConf() is deprecated #970

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

Closed
anam-hossain opened this issue Oct 15, 2019 · 8 comments · Fixed by #1101
Closed

[rdkafka] RdKafka\Conf::setDefaultTopicConf() is deprecated #970

anam-hossain opened this issue Oct 15, 2019 · 8 comments · Fixed by #1101
Assignees
Labels

Comments

@anam-hossain
Copy link

PHP rd-kafka 4.0 throwing the following exception:

In RdKafkaContext.php line 193:
                                                              
  Function RdKafka\Conf::setDefaultTopicConf() is deprecated  

https://github.com/php-enqueue/rdkafka/blob/master/RdKafkaContext.php#L218

@Steveb-p Steveb-p self-assigned this Oct 15, 2019
@stale
Copy link

stale bot commented Nov 14, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 14, 2019
@stale stale bot removed the wontfix label Nov 14, 2019
@robert-schmidt
Copy link

I'm experiencing the same issue :(

@Sadegh-Ameri
Copy link

I'm also experiencing the same issue

@iBasit
Copy link

iBasit commented Mar 4, 2020

same issue on latest checkout

1 similar comment
@Wrath-y
Copy link

Wrath-y commented Mar 24, 2020

same issue on latest checkout

@Rolice
Copy link

Rolice commented Apr 19, 2020

Hello, I have also ended up on the same issue. It seems that the newer version of RDKafka deprecates this function. The librdkafka and rdkafka were installed with the OS package manager and pecl.

In the composer package, I find the usage here:

$this->conf->setDefaultTopicConf($topicConf);

Do you have any plans to release a new version to support newer versions of RDKafka?
Thanks!

@Steveb-p
Copy link
Contributor

Yes @Rolice.

Sorry, I'm just busy and my draft was not stable enough to share.

@makasim makasim changed the title [kafka] RdKafka\Conf::setDefaultTopicConf() is deprecated [rdkafka] RdKafka\Conf::setDefaultTopicConf() is deprecated Aug 21, 2020
@nickpoulos
Copy link

nickpoulos commented Oct 4, 2020

Was this issue ever resolved? I am running into this error as well.

Or has anybody figured out a workaround?

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

Successfully merging a pull request may close this issue.

8 participants