Skip to content

Commit 22f7b7e

Browse files
NC_Danil NC_BasinNC_Danil NC_Basin
authored andcommitted
Add Message HighWaterMark method implementation
1 parent 02b7337 commit 22f7b7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

consumer.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ func (m *msgAdapter) Topic() string {
6666
return m.nativeMessage.Topic
6767
}
6868

69+
func (m *msgAdapter) HighWaterMark() int64 {
70+
return m.nativeMessage.HighWaterMark
71+
}
72+
6973
func (m *msgAdapter) Offset() int64 {
7074
return m.nativeMessage.Offset
7175
}

0 commit comments

Comments
 (0)