You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2024/10/29 16:56:00 UTC
[jira] [Updated] (KAFKA-17872) Kafka stream job does not commit offset when packets are getting ignored intentionally
[ https://issues.apache.org/jira/browse/KAFKA-17872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax updated KAFKA-17872:
------------------------------------
Labels: beginner newbie (was: )
> Kafka stream job does not commit offset when packets are getting ignored intentionally
> ---------------------------------------------------------------------------------------
>
> Key: KAFKA-17872
> URL: https://issues.apache.org/jira/browse/KAFKA-17872
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Reporter: Manish Kumar Sinha
> Priority: Minor
> Labels: beginner, newbie
>
> Hi,
> We are using kafka stream to consume messages from one kafka topic.
> Due to some business logic, we ignore all the packets before 8am by returning {{-1L}} from {{CustomTimestampExtractor}} for all such packets.
> We start consuming all the packets after 8am.
> Everything is running fine, but consumer lag on my consumer group before 8am keeps increasing and goes to 0 after 8am.
> {{{}[commit.interval.ms|http://commit.interval.ms/]{}}}{{{}=1000{}}} commit interval is set to 1s
--
This message was sent by Atlassian Jira
(v8.20.10#820010)