Skip to content

Commit

Permalink
Add additional note on 'Commit' function warning about sync operation
Browse files Browse the repository at this point in the history
  • Loading branch information
wclaeys committed Jun 24, 2020
1 parent eadf2c3 commit 3c5903c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consumer_group.go
Expand Up @@ -514,6 +514,8 @@ type ConsumerGroupSession interface {
MarkOffset(topic string, partition int32, offset int64, metadata string)

// Commit the offset to the backend
//
// Note: calling Commit performs a blocking synchronous operation.
Commit()

// ResetOffset resets to the provided offset, alongside a metadata string that
Expand Down

0 comments on commit 3c5903c

Please sign in to comment.