strimzi / strimzi-kafka-oauth

OAuth2 support for Apache Kafka® to work with many OAuth2 authorization servers
Apache License 2.0
143 stars 89 forks source link

Add support to automatically retry http requests if they fail #182

Closed mstruk closed 1 year ago

mstruk commented 1 year ago

Additional config options are added oauth.http.retries and oauth.http.retry.pause.millis. The retry mechanism is supported in the clients when fetching the token, in the introspection validator when it connects to the introspection or userinfo endpoint, and in OAuth over PLAIN when the server obtains the token in client's name.

Signed-off-by: Marko Strukelj marko.strukelj@gmail.com

mstruk commented 1 year ago

Thanks everyone.