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

Improve ConsumerContext::commit_callback #198

Merged
merged 1 commit into from
Dec 16, 2019

Conversation

scrogson
Copy link
Contributor

@scrogson scrogson commented Dec 14, 2019

This PR attempts to remove exposing *mut rdkafka_sys::RDKafkaTopicPartitionList in ConsumerContext::commit_callback and expose rdkafka::topic_partition_list::TopicPartitionList instead.

Should resolve #197

@benesch
Copy link
Collaborator

benesch commented Dec 14, 2019

Hi @scrogson, thanks very much for this! I’m actually quite relieved that this failed CI, as I spot a double free in your patch and it’s good to know that Valgrind is able to catch that. I think I know how to fix it, though, so I’ll send up a fix and hopefully get this merged when I get home this evening.

@benesch benesch merged commit f5664ab into fede1024:master Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible to remove the dependency on rdkafka_sys for users?
2 participants