Closed rockwithamoon closed 1 year ago
Hmm, that looks really strange. The logic inside the emitter is not that complicated. It's merely wrapping sarama. Does the error occur during shutdown of the emitter or at normal runtime?
This is during normal runtime. I'm not 100% sure yet if this happens during Kafka re-partitioning. I've updated to goka v1.1.7
and sarama v1.38.1
. If it occurs again I'll try to debug more as I've seen some receiving channels in waiting in sarama/async_producer.go
.
After upgrading to sarama v1.38.1 this behaviour isn't reproduced. I'm closing this. Thanks.
Hello.
I've noticed on rare occasions that EmitSync() does not return. From the stack trace it seems that
done
channel is not closing from https://github.com/lovoo/goka/blob/v1.1.1/emitter.go#L114It's an older version of goka, I'll upgrade to latest but this happens once a month or so it will take a while for feedback.