Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Is there any retry mechanism in kafka-net dll while message sending failure? #89

Open
ms0713 opened this issue Jul 6, 2018 · 4 comments

Comments

@ms0713
Copy link

ms0713 commented Jul 6, 2018

@edenhill , @Jroland
I have used kafka-net to send messages on Kafka-Topic. I am running producer on Windows Server 2012 R2 OS machine and Consumer on Cent OS machine.

While sending messages on kafka, some messages are being dropped even though it is not sending messages continuously. After checking log files of Kafka Topic, it did not written those dropped messages in its logs.

How can I ensure that my message has been sent to Kafka-Topic successfully?

If sending message on Kafka get failed, then how to resend the same message again?

@ms0713 ms0713 changed the title how to resend message on kafka if sending gets failed? Is there any retry mechanism? Is there any retry mechanism in kafka-net dll? Jul 6, 2018
@ms0713 ms0713 changed the title Is there any retry mechanism in kafka-net dll? Is there any retry mechanism in kafka-net dll while message sending failure? Jul 6, 2018
@edenhill
Copy link
Contributor

edenhill commented Jul 6, 2018

What client are you using? CSharpClient-for-Kafka is deprecated in favour of confluent-kafka-dotnet, if you're using confluent-kafka-dotnet please file an issue here (and fill out the checklist):
https://github.com/confluentinc/confluent-kafka-dotnet/issues/new

@ms0713
Copy link
Author

ms0713 commented Jul 6, 2018

@edenhill
I am currently using kafka-net.dll.
Version 0.9.0.65.

Which dll should I use ?
I get this nuget package from here:
https://www.nuget.org/packages/kafka-net/0.9.0.65

@edenhill
Copy link
Contributor

edenhill commented Jul 6, 2018

Then you should file an issue for that project here: https://github.com/Jroland/kafka-net

It does look like the project has been abandoned though, so you might want to look into confluent-kafka-dotnet instead which is actively maintained.

@ms0713
Copy link
Author

ms0713 commented Jul 6, 2018

Thanks @edenhill .

I actually filed this issue to you and Jroland because author of kafka-net is Jroland and what I want is answered by you through various posts.

If I use confluent-kafka-dotnet, am I able to resend message that got failed for the first time?

Is confluent-kafka-dotnet being used in production environments?

If you have demonstrated the same via some code then send me that link, it will be a great help for me.

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants