You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Stevo Slavić <ss...@gmail.com> on 2017/08/30 08:30:22 UTC

Is CommitFailedException thrown from commitSync with offsets because an offset is out of range?

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.

Re: Is CommitFailedException thrown from commitSync with offsets because an offset is out of range?

Posted by Stevo Slavić <ss...@gmail.com>.
Reported a bug for this https://issues.apache.org/jira/browse/KAFKA-5835

On Wed, Aug 30, 2017 at 10:30 AM, Stevo Slavić <ss...@gmail.com> wrote:

> 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.
>
>
>