Open erlangtui opened 1 month ago
the above happened when a broker is down
Hm… yeah. We even have the context available to plumb through that function. It seems that it’s relying on client.conf.Metadata.Timeout
to provide a timeout/deadline rather than a context.WithDeadline
or context.WithTimeout
. It seems like plumbing a context through would even then simplify the deadline handling, since we wouldn’t have to do it all manually.
Description
func (c *consumerGroup) Consume(ctx context.Context, topics []string, handler ConsumerGroupHandler) error
in consumer_group.go file, after ctx's cancel function exec, the functionc.client.RefreshMetadata(topics...)
in consumer_group.go file line 201, still working, can not stop.Versions
Configuration
Logs
logs: CLICK ME
``` ```
Additional Context