SergeyYakubov opened a new issue #7824:
URL: https://github.com/apache/pulsar/issues/7824


   #### Expected behavior
   
   I create a consumer listener with Go following an example:
   
   http://pulsar.apache.org/docs/en/client-libraries-go/#consumers
   
   Authentication/Authorisation is done via a JWT token (I provide a function 
via NewAuthenticationTokenFromSupplier to retrieve this token from Keycloak). 
The token lifetime is set to 1 minute.
   
   Expected behavior - as soon as token expires a new token should be retrieved 
(best option) or at least the connection to pulsar brokers should break.
   
   #### Actual behavior
   
   I can still consumer messages with expired token
   
   #### System configuration
   **Pulsar version**: 2.6.0
   


----------------------------------------------------------------
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]


Reply via email to