-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Support sync interface #32
Comments
Can you tell me about your use case for this? |
Hi, I think you can give choice for log count sending per call. Thanks~! |
What do you mean by "fail-toerant will process twice"? |
fail-tolerant is implement in our program. if send the log to kafka failed, we should process it in our environment. and when the kafka is recover, we will send failed log to kafka again. but I think sync interface is easy for user to deal with this situation. Thanks~! |
I understand. The current async produce interface provides full message tracking and reliability. Read this for more information: The async produce interface also offers high performance and is not particularily affected by a high latency between application and broker. |
See this wiki page for how to implement a sync producer in your application: |
Hi,
currently the librdkafka only support async, but in my case, we prefer use sync interface.
Do you have plan to support this, Thanks~!
The text was updated successfully, but these errors were encountered: