Skip to content

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

@sara-han

Description

@sara-han

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions