We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To suggest an idea or inquire about a new Message Broker supporting feature or any other enhancement, please follow this template:
Is your feature request related to a problem? Please describe. Slow running tests for confluent
Describe the solution you'd like Significantly speed up test execution.
The text was updated successfully, but these errors were encountered:
Finally, I found the problem - confluent-kafka takes a lot of time at broker starting dur automatic partition assignment:
So, for this code the first message will be consumed after about 3 seconds after startup
consumer.subscribe(["test-in",]) while True: msg = consumer.poll(timeout=0.1)
But, in the next case the message will be delivired immideately
consumer.assign([TopicPartition(topic="test-in", partition=0, offset=0)]) while True: msg = consumer.poll(timeout=0.1)
I think, we should use manual partition assignment for aiokafka and confluent kafka both in tests this reason
@kumaranvpl what do you think? Have you any other solutions?
Sorry, something went wrong.
Flosckow
Successfully merging a pull request may close this issue.
To suggest an idea or inquire about a new Message Broker supporting feature or any other enhancement, please follow this template:
Is your feature request related to a problem? Please describe.
Slow running tests for confluent
Describe the solution you'd like
Significantly speed up test execution.
The text was updated successfully, but these errors were encountered: