KafkaConsumer.commitSync

Commit offsets for the current assignment.

Note: This is the synchronous variant that blocks until offsets are committed or the commit fails (see return value).

Note: If a OffsetCommitCb callback is registered it will be called with commit details on a future call to consume()

ErrorCode.no_error or error code.

Meta