Chia-Ping Tsai created KAFKA-17415: -------------------------------------- Summary: 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: Chia-Ping Tsai
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)