Skip to content

Commit

Permalink
add api GetOffsetDiffMap (#965)
Browse files Browse the repository at this point in the history
Co-authored-by: 筱瑜 <[email protected]>
  • Loading branch information
NeonToo and 筱瑜 authored Dec 1, 2022
1 parent 0742aac commit cad2f66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ type PushConsumer interface {

// Resume the consumption
Resume()

// GetOffsetDiffMap Get offset difference map
GetOffsetDiffMap() map[string]int64
}

func NewPushConsumer(opts ...consumer.Option) (PushConsumer, error) {
Expand Down

0 comments on commit cad2f66

Please sign in to comment.