apache/pulsar

Make Java Client Authentication Asynchronous

開放

#19,429 建立於 2023年2月5日

 (13 則留言) (0 個反應) (0 位負責人)Java (3,485 個分叉)batch import
Stalearea/clientgood first issuehelp wantedtype/enhancement

倉庫指標

星標
 (13,697 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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!

貢獻者指南