Skip to content

move CredentialsCache get out from handle fetch result #166

@luoyuxia

Description

@luoyuxia

Search before asking

  • I searched in the issues and found nothing similar.

Description

https://github.com/apache/fluss-rust/pull/143/files#diff-540a310c6f8139ea4592281917afecdd364792ffc3655a65221307465cabd09eR725

currently, when fetch response return to fetch from remote, it'll get credential from cache, as well as send credential get request. But we had better to move it out from the handle fetch result. We can follow java client did, which make the credential refresher as a background thread to refresh remote token.

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions