lhotari opened a new issue #10652: URL: https://github.com/apache/pulsar/issues/10652
**Is your enhancement request related to a problem? Please describe.** The performance of `AuthenticationProviderToken.authenticateToken` is bad. It seems that the JWT parsing classes get loaded for each call This shows up in the allocation flame graph:  **Describe the solution you'd like** Optimize the performance so that the parser is cached and isn't instantiated for each call. -- 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: [email protected]
