-
Notifications
You must be signed in to change notification settings - Fork 24
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
Fixes segfault on SIGINT #14
Conversation
Could you please describe what kind of issues you got with the |
If you call I think this is the reason why a segfault is not always reproducible: it depends if the timer triggers the callback after client termination. I don't see any reason to call a poll in a background task, are you sure it is needed? |
According to
Similar to what's proposed in #13, I think we can add a flag |
Indeed calling |
Nice, in #13 Should it work if InterruptException is catch and rethrow? Also a Timer may cause problems with SIGINT, see here. |
Removed all
finalizer
call because for what I know it is hard to say in what orders finalizer get calledand this may cause problems with the correct order of api call expected by librdkafka.
added
kafka_consumer_close
removed timer
kafka_poll
fromKafkaClient