rdkafka-dotnet
rdkafka-dotnet copied to clipboard
Deadlocking with high number of sends
for (int i = 0; i < 100000; i++)
{
var data = Encoding.UTF8.GetBytes("hello");
topic.Produce(data);
}
Running the above snippet a few times make the client deadlock. (It doesnt occur right away, I usually have to run this a few times)
I'm not sure what is causing this, but once its start deadlocking, if I stop and then lower the number to a much lower number, it usually works. So my impression is that for some reason, the underlying infrastructure have some sort of issue ingesting large numbers of writes too fast.
Would be interesting to hear if anyone else get the same issue.