Skip to content

consumer group can not stop refresh meta data after context canceled. #2991

Open
@erlangtui

Description

@erlangtui
Description
  • consumer group can not stop refresh meta data after context canceled.
  • function func (c *consumerGroup) Consume(ctx context.Context, topics []string, handler ConsumerGroupHandler) error in consumer_group.go file, after ctx's cancel function exec, the function c.client.RefreshMetadata(topics...) in consumer_group.go file line 201, still working, can not stop.
Versions
Sarama Kafka Go
1.38.1 kafka_2.11-1.1.1 1.19
Configuration
Logs
logs: CLICK ME


Additional Context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

needs-investigationIssues that require followup from maintainers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions