Groups
Groups
Sign in
Groups
Groups
kafka-clients
Conversations
About
Send feedback
Help
Async Producer Go Leak Error
10 views
Skip to first unread message
Manik
unread,
Dec 10, 2024, 7:32:29 AM
12/10/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kafka-clients
I have been closing the producer in sarama still it is failing the go-leak test:
[Goroutine 51 in state chan receive, with
github.com/rcrowley/go-metrics.(*meterArbiter).tick
on top of the stack:
github.com/rcrowley/go-metrics.(*meterArbiter).tick(..
.)
go/pkg/mod/
github.com/rcrowley/go-me...@v0.0.0-20201227073835-cf1acfcdf475/meter.go:239
created by
github.com/rcrowley/go-metrics.NewMeter
in goroutine 15
go/pkg/mod/
github.com/rcrowley/go-me...@v0.0.0-20201227073835-cf1acfcdf475/meter.go:46
+0x16d
I think it's because producer is not closing the client created by it unlike consumer!
Reply all
Reply to author
Forward
0 new messages