You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kaio Chiarato (Jira)" <ji...@apache.org> on 2020/06/26 13:53:00 UTC

[jira] [Updated] (KAFKA-10204) When producing a message, Kafka Producer throws OffsetOutOfRangeException when awaiting for delivery report

     [ https://issues.apache.org/jira/browse/KAFKA-10204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaio Chiarato updated KAFKA-10204:
----------------------------------
    Description: 
In production environment, we are dealing with this situation in which a producer thrown OffsetOutOfRangeException. I have handle this error once when consuming (and changed offset reset policy) but never when producing.

 

Do you guys have any idea?

 

Producer ACK mode = *all*

 

Kafka version: 0.10.0.1

 

3 Brokers deployed

min.insync.replicas=1default.replication.factor=2
 min.insync.replicas=1
 num.replica.fetchers=1
 offsets.topic.replication.factor=3
 [replica.fetch.backoff.ms|http://replica.fetch.backoff.ms/]=1000
 replica.fetch.max.bytes=1048576
 replica.fetch.min.bytes=1
 [replica.fetch.wait.max.ms|http://replica.fetch.wait.max.ms/]=500
 [replica.high.watermark.checkpoint.interval.ms|http://replica.high.watermark.checkpoint.interval.ms/]=5000
 [replica.lag.time.max.ms|http://replica.lag.time.max.ms/]=10000
 replica.socket.receive.buffer.bytes=65536
 [replica.socket.timeout.ms|http://replica.socket.timeout.ms/]=30000

  was:
In production environment, we are dealing with this situation in which a producer thrown OffsetOutOfRangeException. I have handle this error once when consuming (and changed offset reset policy) but never when producing.

 

Do you guys have any idea?

 

Producer ACK mode = *all*

 

3 Brokers deployed

min.insync.replicas=1default.replication.factor=2
min.insync.replicas=1
num.replica.fetchers=1
offsets.topic.replication.factor=3
[replica.fetch.backoff.ms|http://replica.fetch.backoff.ms/]=1000
replica.fetch.max.bytes=1048576
replica.fetch.min.bytes=1
[replica.fetch.wait.max.ms|http://replica.fetch.wait.max.ms/]=500
[replica.high.watermark.checkpoint.interval.ms|http://replica.high.watermark.checkpoint.interval.ms/]=5000
[replica.lag.time.max.ms|http://replica.lag.time.max.ms/]=10000
replica.socket.receive.buffer.bytes=65536
[replica.socket.timeout.ms|http://replica.socket.timeout.ms/]=30000


> When producing a message, Kafka Producer throws OffsetOutOfRangeException when awaiting for delivery report
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-10204
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10204
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.10.0.1
>            Reporter: Kaio Chiarato
>            Priority: Critical
>
> In production environment, we are dealing with this situation in which a producer thrown OffsetOutOfRangeException. I have handle this error once when consuming (and changed offset reset policy) but never when producing.
>  
> Do you guys have any idea?
>  
> Producer ACK mode = *all*
>  
> Kafka version: 0.10.0.1
>  
> 3 Brokers deployed
> min.insync.replicas=1default.replication.factor=2
>  min.insync.replicas=1
>  num.replica.fetchers=1
>  offsets.topic.replication.factor=3
>  [replica.fetch.backoff.ms|http://replica.fetch.backoff.ms/]=1000
>  replica.fetch.max.bytes=1048576
>  replica.fetch.min.bytes=1
>  [replica.fetch.wait.max.ms|http://replica.fetch.wait.max.ms/]=500
>  [replica.high.watermark.checkpoint.interval.ms|http://replica.high.watermark.checkpoint.interval.ms/]=5000
>  [replica.lag.time.max.ms|http://replica.lag.time.max.ms/]=10000
>  replica.socket.receive.buffer.bytes=65536
>  [replica.socket.timeout.ms|http://replica.socket.timeout.ms/]=30000



--
This message was sent by Atlassian Jira
(v8.3.4#803005)