You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, this is a general bug that the newSession and retryNewSession funcs should both be checking for ctx cancellation to exit early before proceeding
sarama/consumer_group.go
Line 311 in 9e75986
If the error is ErrUnknownMemberId and context gets cancelled by some other go-routine, the above code can go in an infinite loop.
Need a check to cross-check if context is cancelled before below switch:
sarama/consumer_group.go
Line 305 in 9e75986
Example code required:
select { case <-ctx.Done(): return nil, ctx.Err() default: }
The text was updated successfully, but these errors were encountered: