Skip to content

Commit

Permalink
dispatcher: add log for droped event 2
Browse files Browse the repository at this point in the history
Signed-off-by: dongmen <[email protected]>
  • Loading branch information
asddongmen committed Nov 8, 2024
1 parent 565dc49 commit 6379ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion downstreamadapter/dispatcher/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ func (h *EventsHandler) GetTimestamp(event DispatcherEvent) dynstream.Timestamp
return dynstream.Timestamp(event.GetCommitTs())
}
func (h *EventsHandler) OnDrop(event DispatcherEvent) {
log.Info("event dropped", zap.Any("dispatcher", event.GetDispatcherID()), zap.Any("commitTs", event.GetCommitTs()), zap.Any("sequence", event.GetSequence()))
log.Info("event dropped", zap.Any("dispatcher", event.GetDispatcherID()), zap.Any("commitTs", event.GetCommitTs()), zap.Any("sequence", event.GetSeq()))
}

type DispatcherEvent struct {
Expand Down

0 comments on commit 6379ef8

Please sign in to comment.