From 3c5903cf44dde58b097d28f170cab131730fa71e Mon Sep 17 00:00:00 2001 From: Wim Claeys Date: Wed, 24 Jun 2020 07:44:29 +0200 Subject: [PATCH] Add additional note on 'Commit' function warning about sync operation --- consumer_group.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/consumer_group.go b/consumer_group.go index 9c681d713f..aae6599ca3 100644 --- a/consumer_group.go +++ b/consumer_group.go @@ -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