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

Bruno Cadonna commented on KAFKA-8613:
--------------------------------------

Hi [~vvcephei],

I might have been focusing too much on the suppress case when I opened this 
ticket. Thinking about it again, I would still expect the grace period to be 0 
if I do not specify anything. Any other default value I would need to remember. 
Making grace period required would also be fine because it better document the 
Streams app, IMO. 

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

Reply via email to