[FEATURE] добавить в хуки kgo уведомление о измении статуса - коннект,дисконнект и тп #138
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
default commit failed
If you need extra logic to track commit failure, I recommend overriding the commit callback. The default commit callback is only used if you do not specify your own. See https://pkg.go.dev/github.com/twmb/franz-go/pkg/kgo#AutoCommitCallback
we have connects and disconnects
https://pkg.go.dev/github.com/twmb/franz-go/pkg/kgo#HookBrokerConnect
https://pkg.go.dev/github.com/twmb/franz-go/pkg/kgo#HookBrokerDisconnect
on which hook/metrics i can understand that service must be stopped?
I think you'd be able to hook into the broker connect callback.
on heartbeat error also no hooks called
If a heartbeat experiences a non-retryable error, the group management goroutine exits and the OnPartitionsRevoked callback is called with the error.