I get both of these messages one after another. I had expected it not to reach the then block.
MessageHub Consumer cfc64c97-f726-4f50-ab83-33d65a1e9934 logged: Full rejoin attempt failed: Error: Failed to join the group: GroupCoordinatorNotAvailable\nError: Failed to join the group: GroupCoordinatorNotAvailable\n at _tryJoinGroup
"msg":"MessageHub Consumer cfc64c97-f726-4f50-ab83-33d65a1e9934 logged: Joined group placementGroup generationId 1 as cfc64c97-f726-4f50-ab83-33d65a1e9934-28aa8765-a304-4daa-8933-8695504580ce"
I see that in the below line the error is ignored and we proceed forward for then block.
https://github.com/oleksiyk/kafka/blob/2178dea0f3372fabd34b9ae3a277ae2145c74945/lib/group_consumer.js#L89
I get both of these messages one after another. I had expected it not to reach the then block.