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

Chia-Ping Tsai reassigned KAFKA-17415:
--------------------------------------

    Assignee: TengYao Chi  (was: Chia-Ping Tsai)

> Avoid overflow of expiried timestamp
> ------------------------------------
>
>                 Key: KAFKA-17415
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17415
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: TengYao Chi
>            Priority: Major
>             Fix For: 4.0.0
>
>
> Both of zk and kraft modes do not handle the overflow, and hence setting a 
> large max life time will cause a negative expired timestamp and negative max 
> timestamp. That is unexpected behavior.
> [0] 
> https://github.com/apache/kafka/blob/0123bdcf06d2554ea62ba3a75af7c4b17eb4d23a/metadata/src/main/java/org/apache/kafka/controller/DelegationTokenControlManager.java#L191
> [1] 
> https://github.com/apache/kafka/blob/0123bdcf06d2554ea62ba3a75af7c4b17eb4d23a/core/src/main/scala/kafka/server/DelegationTokenManagerZk.scala#L182



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to