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
kafka.Subscriber.Close() seems not concurrent safe. close(s.closing) may be executed multiple times when called concurrently,
causing panic: close of closed channel .
The text was updated successfully, but these errors were encountered:
xuyang2
changed the title
[kafka] Subscriber.Close() seems not concurrent safe
[watermill-kafka] Subscriber.Close() seems not concurrent safe
May 20, 2022
kafka.Subscriber.Close()
seems not concurrent safe.close(s.closing)
may be executed multiple times when called concurrently,causing
panic: close of closed channel
.https://github.com/ThreeDotsLabs/watermill-kafka/blob/9242094c8fd755f501295c65515f2d47bb122962/pkg/kafka/subscriber.go#L468
see alsao:
The text was updated successfully, but these errors were encountered: