TP-5555 | no pod restart if kafka topic is not available
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user