You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Israel Ekpo (Jira)" <ji...@apache.org> on 2021/04/08 21:57:00 UTC

[jira] [Commented] (KAFKA-8613) Set default grace period to 0

    [ https://issues.apache.org/jira/browse/KAFKA-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317518#comment-17317518 ] 

Israel Ekpo commented on KAFKA-8613:
------------------------------------

Hello [~ableegoldman],

I have reviewed the KIP. The motivation makes sense and the recommended API changes make sense as well.
 
If it is ok, I would love to volunteer to implement the changes.

> Set default grace period to 0
> -----------------------------
>
>                 Key: KAFKA-8613
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8613
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Bruno Cadonna
>            Assignee: A. Sophie Blee-Goldman
>            Priority: Blocker
>             Fix For: 3.0.0
>
>
> Currently, the grace period is set to retention time if the grace period is not specified explicitly. The reason for setting the default grace period to retention time was backward compatibility. Topologies that were implemented before the introduction of the grace period, added late arriving records to a window as long as the window existed, i.e., as long as its retention time was not elapsed.  
> This unintuitive default grace period has already caused confusion among users.
> For the next major release, we should set the default grace period to {{Duration.ZERO}}.



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