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!

贡献者指南