-
Notifications
You must be signed in to change notification settings - Fork 483
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
Min wall clock time per single kafkacat invokation #12
Comments
You are absolutely right, there are a couple of internal timeouts in librdkafka that are 1s. |
Thanks for confirming this! |
This is now fixed in librdkafka commit confluentinc/librdkafka@8d9fdd2
Can you verify this on your end as well? |
For some reason I still see the delay. Could it be something related to OS X? |
Huhm, are you sure kafkacat is using the updated librdkafka? |
Just did a fresh checkout and ./boostrap.sh on a linux installation elsewhere and now it works correctly. Strangely, doing the same on OS X has no effect. Could you possibly spot any issues in the build log? https://gist.github.com/ibalashov/c74f8cb9217db3099362#file-kafkacat_buildlog_osx-txt |
Ah, SIGIO is ignored by default on OSX, but not Linux. But I'm not sure this is the right solution, a library typically shouldn't trigger signals and install signal handlers without the application's knowledge. Will have to think about it a bit more. Is this stopping your development/deployment? |
Glad to hear at least the cause is clear. |
I've made a better fix for this now (opt-in on the application side, kafkacat opts in) which should also work better on OSX. |
Hi,
It seems that it takes at least 1 second for kafkacat producer to complete.
Is there any timeout setting that would allow kafkacat to exit immediately upon producing all messages?
The text was updated successfully, but these errors were encountered: