So, to keep it short:
Procedure:
Frontend -\> start node -\> consume messages -\> send result back to frontend
Once I start a node and the first request is processed, the results get sent back in an instant.
However if I send the second request (\<20 seconds)
, It takes very long for the consumer to join the group.
I get the Debug Message:
{
"level":"DEBUG",
"timestamp":"2023-02-22T14:43:54.714Z",
"logger":"kafkajs",
"message":"\[Connection\] Request JoinGroup(key: 11, version: 5)",
"broker":"bmmc02cq2x3md6p.bechtle.net:9092",
...
}
Then I am left hanging for \~10 seconds
, then I get the response message from Kafka:
{
"level":"DEBUG",
"timestamp":"2023-02-22T14:44:23.245Z",
"logger":"kafkajs",
"message":"\[Connection\] Response JoinGroup(key: 11, version: 5)",
"broker":"bmmc02cq2x3md6p.bechtle.net:9092",
"cli...
}
Does anyone know what's going on ?