TP-5555 | no pod restart if kafka topic is not available

This commit is contained in:
varnit goyal
2024-10-25 06:43:47 +05:30
parent 6f16c620a9
commit 1bf80ee849

View File

@@ -47,7 +47,7 @@ func (consumer *Consumer) AttachErrorListener() {
if err != nil {
fmt.Fprintf(os.Stderr, "Failed to subscribe to topics: %s\n", err)
os.Exit(1)
return
}
run := true
sigchan := make(chan os.Signal, 1)