You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Stephane Maarek (JIRA)" <ji...@apache.org> on 2017/03/23 04:02:41 UTC

[jira] [Updated] (KAFKA-4942) Kafka Connect: Offset committing times out before expected

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

Stephane Maarek updated KAFKA-4942:
-----------------------------------
    Description: 
On Kafka 0.10.2.0
I run a connector that deals with a lot of data, in a kafka connect cluster

When the offsets are getting committed, I get the following:
{code}
[2017-03-23 03:56:25,134] INFO WorkerSinkTask{id=MyConnector-1} Committing offsets (org.apache.kafka.connect.runtime.WorkerSinkTask)
[2017-03-23 03:56:25,135] WARN Commit of WorkerSinkTask{id=MyConnector-1} offsets timed out (org.apache.kafka.connect.runtime.WorkerSinkTask)
{code}

If you look at the timestamps, they're 1 ms apart. My settings are the following: 
	offset.flush.interval.ms = 120000
	offset.flush.timeout.ms = 60000
	offset.storage.topic = _connect_offsets

It seems the offset flush timeout setting is completely ignored for the look of the logs. I would expect the timeout message to happen 60 seconds after the commit offset INFO message, not 1 millisecond later.

  was:
I run a connector that deals with a lot of data, in a kafka connect cluster

When the offsets are getting committed, I get the following:
[2017-03-23 03:56:25,134] INFO WorkerSinkTask{id=MyConnector-1} Committing offsets (org.apache.kafka.connect.runtime.WorkerSinkTask)
[2017-03-23 03:56:25,135] WARN Commit of WorkerSinkTask{id=MyConnector-1} offsets timed out (org.apache.kafka.connect.runtime.WorkerSinkTask)

If you look at the timestamps, they're 1 ms apart. My settings are the following: 
	offset.flush.interval.ms = 120000
	offset.flush.timeout.ms = 60000
	offset.storage.topic = _connect_offsets

It seems the offset flush timeout setting is completely ignored for the look of the logs. I would expect the timeout message to happen 60 seconds after the commit offset INFO message, not 1 millisecond later.


> Kafka Connect: Offset committing times out before expected
> ----------------------------------------------------------
>
>                 Key: KAFKA-4942
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4942
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Stephane Maarek
>            Priority: Critical
>
> On Kafka 0.10.2.0
> I run a connector that deals with a lot of data, in a kafka connect cluster
> When the offsets are getting committed, I get the following:
> {code}
> [2017-03-23 03:56:25,134] INFO WorkerSinkTask{id=MyConnector-1} Committing offsets (org.apache.kafka.connect.runtime.WorkerSinkTask)
> [2017-03-23 03:56:25,135] WARN Commit of WorkerSinkTask{id=MyConnector-1} offsets timed out (org.apache.kafka.connect.runtime.WorkerSinkTask)
> {code}
> If you look at the timestamps, they're 1 ms apart. My settings are the following: 
> 	offset.flush.interval.ms = 120000
> 	offset.flush.timeout.ms = 60000
> 	offset.storage.topic = _connect_offsets
> It seems the offset flush timeout setting is completely ignored for the look of the logs. I would expect the timeout message to happen 60 seconds after the commit offset INFO message, not 1 millisecond later.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)