o2themar

Results 28 comments of o2themar
trafficstars

@robinfehr I don't think this is only an issue with linux as it also fails and gets stuck when running in k8s which uses a linux container. Its strange that...

@robinfehr I've been trying to test the code you provided and it seems to be getting stuck at "producing now test key" which is line 130. I'm running the code...

@robinfehr Yes I have created the topic 'test' and even verified it was there.

Ok that was strange when I restarted the container after creating the topic and reran the tests it started working. For some reason it was not finding the topic and...

@robinfehr So I was able to replicate the issue. I had to run the script in a loop in order to get it to fail and get stuck. It takes...

Some more findings. I found the [loop](https://github.com/edenhill/librdkafka/blob/a913c75e1e09ef87232e9c7b044d8ab3ec404417/src/rdkafka_broker.c#L5404) where it was printing the logs. It seems to be stuck in this loop and it cannot get out.

> > Some more findings. I found the [loop](https://github.com/edenhill/librdkafka/blob/a913c75e1e09ef87232e9c7b044d8ab3ec404417/src/rdkafka_broker.c#L5404) where it was printing the logs. It seems to be stuck in this loop and it cannot get out. > >...

So I was able to replicate this similar issue in k8s. It happened in a dev cluster during a failure test where the node was shutdown then brought back up....

@robinfehr Have you figured anything out? I am only able to reproduce it in k8s. The producer gets stuck in connecting state and cannot get out with a restart. I...

So here is the line that I determined where it was failing. The other library that I'm using that uses librdkafka printed out in the logs that it failed to...