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

Add other rdkafka callbacks #151

Closed
jeckhart opened this issue Feb 19, 2018 · 1 comment
Closed

Add other rdkafka callbacks #151

jeckhart opened this issue Feb 19, 2018 · 1 comment

Comments

@jeckhart
Copy link

  • PHP version: 7.0 (but applicable to all)
  • librdkafka version: 0.11.1
  • php-rdkfaka version: 3.0.5

I'm hitting a problem where offsets are timing out on low traffic queues. The offsets "should" be getting committed every five minutes (using $consumer->commitAsync();) but I'm having a hard time trying to debug the issue.

rdkafka supports registering callbacks for commits, events, and other callbacks that aren't accessible in php-rdkafka today. These would be helpful to see what is happening in the async flows.

Is there a design decision to not expose those today? Would you be able to add them or be willing to review a PR?

Thank you!

@arnaud-lb
Copy link
Owner

Hi @jeckhart

I'm willing to accept a PR for this :)

arnaud-lb added a commit that referenced this issue Mar 19, 2018
Fix #151 - Callbacks for `offset_commit` and `consume`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants