aio-libs / aio-libs/aiokafka

[QUESTION] Is there support to refresh OAuth tokens automatically based on token expiration duration?

Ouverte
#1,015 0 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
question
Langage dominant
Python
Étoiles
1.4k
Forks
269
Merge moyen
1 j 1 h
PR mergées (30 j)
6

Description

Hi,

We're using OAUTHBEARER sasl_mechanism to connect to AWS MSK with MSKAuthTokenProvider generated tokens. The tokens have an expiration duration. Is there any way to make the Kafka clients refresh the connections before the token expires? Does the client support KIP-368?

Right now, we observe that a connection is established. Later, there will be a Kafka connection failure because the connection is closed by the broker.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.