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

Fixing Python Kafka Source with Multiple Threads #262

Merged

Conversation

mdemoret-nv
Copy link
Contributor

A small regression in PR #257 that would duplicate messages in the from-kafka stage when --use_cpp=False. If you used 3 threads you would process each message in Kafka 3 times instead of dividing the messages between threads.

This also improves the shutdown behavior of the from-kafka stage when pressing Ctrl+C to close the pipeline.

@mdemoret-nv mdemoret-nv added bug Something isn't working non-breaking Non-breaking change labels Jul 5, 2022
@mdemoret-nv mdemoret-nv requested a review from dagardner-nv July 5, 2022 16:33
@mdemoret-nv mdemoret-nv requested a review from a team as a code owner July 5, 2022 16:33
@mdemoret-nv
Copy link
Contributor Author

@gpucibot merge

@ghost ghost merged commit 00541f6 into nv-morpheus:branch-22.06 Jul 5, 2022
@mdemoret-nv mdemoret-nv deleted the mdd_fix-kafka-python-threads branch July 5, 2022 17:26
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants