Project

General

Profile

Task #28318

Fix consumer hanging when Kafka becomes unreachable

Added by Sachin Divekar about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
02/07/2025
Due date:
% Done:

100%

Estimated time:

Description

When Kafka connection was lost, the consumer goroutine exits but the main process continues running indefinitely. As a quick fix exit the process in such case so that k8s/systemd would restart it automatically.

In the future implement a proper circuit breaker.

#1

Updated by Sachin Divekar about 1 month ago

  • % Done changed from 0 to 100
  • Status changed from New to In Progress
#2

Updated by Sachin Divekar about 1 month ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF