You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/18 13:01:00 UTC

[jira] [Commented] (KAFKA-8920) Provide a new property to enable/disable expired-token-cleaner scheduler

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

ASF GitHub Bot commented on KAFKA-8920:
---------------------------------------

bentocast commented on pull request #7360: KAFKA-8920: Add a new property to enable/disable token clean scheduler
URL: https://github.com/apache/kafka/pull/7360
 
 
   **Detail:** Introduce a new property to enable/disable the expired token clean scheduler
   Providing this new property would allow the developers to manipulate expired tokens externally by themselves, and Kafka process does not need to spend its resource to clean up the expired tokens, which is not the main feature.
   
   **The testing strategy:** ensure the value of scheduler enabling flag is based on
   - PasswordEncoderSecret Property is set or not (same as variable: tokenAuthEnabled)
   - DelegationTokenCleanSchedulerEnable Property
   If one of them is false, this flag must be false
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Provide a new property to enable/disable expired-token-cleaner scheduler
> ------------------------------------------------------------------------
>
>                 Key: KAFKA-8920
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8920
>             Project: Kafka
>          Issue Type: Wish
>          Components: config
>    Affects Versions: 2.3.0
>            Reporter: Chatchavit Nitipongpun
>            Priority: Minor
>              Labels: TokenAuth
>
> Currently, the expired-token-cleaner scheduler is automatically started up when the delegation.token.master.key is set.
> Providing this new property to enable/disable this scheduler would allow the developers to manipulate expired tokens externally by themselves, and Kafka process does not need to spend its resource to clean up the expired tokens, which is not the main feature.



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