apache/pulsar

Make Java Client Authentication Asynchronous

Open

#19,429 创建于 2023年2月5日

在 GitHub 查看
 (13 评论) (0 反应) (0 负责人)Java (13,697 star) (3,485 fork)batch import
Stalearea/clientgood first issuehelp wantedtype/enhancement

描述

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!

贡献者指南