Hello Apache Kafka community, org.apache.kafka.clients.consumer.CommitFailedException javadoc and especially exception message suggests that the exception can be thrown only due to consumer re-balancing, KafkaConsumer instance not owning TopicPartition for the consumer group of the offset being committed.
Couldn't commitSync with offsets fail also because an offset being committed is outside of the range? Kind regards, Stevo Slavic.