apache/pulsar

Make Java Client Authentication Asynchronous

オープン

#19,429 opened on 2023/02/05

 (13 件のコメント) (0 件のリアクション) (0 人の担当者)Java (3,485 件のフォーク)batch import
Stalearea/clientgood first issuehelp wantedtype/enhancement

Repository metrics

Stars
 (13,697 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

The OAuth2 client's authenticate call is blocking, which is not great for the client, and is bad for the proxy because the proxy authenticates from a netty event loop.

Solution

In the same way that PIP 97 #12105 make the AuthenticationProvider async, we should update the Authentication interface.

Alternatives

No response

Anything else?

This change will likely require a PIP. I am unable to write such a PIP at this time, so I am creating this issue to keep track of this missing feature.

Are you willing to submit a PR?

  • I'm willing to submit a PR!

コントリビューターガイド