If grants for the token exist in another session, reuse them, rather than fetch them again. Also introduce per-access-token semaphore to prevent parallel fetching of grants for the same token.
Add strimzi.authorization.reuse.grants config option to enable this optimisation.
If grants for the token exist in another session, reuse them, rather than fetch them again. Also introduce per-access-token semaphore to prevent parallel fetching of grants for the same token.
Add
strimzi.authorization.reuse.grants
config option to enable this optimisation.Signed-off-by: Marko Strukelj marko.strukelj@gmail.com