fsprojects / pulsar-client-dotnet

Apache Pulsar native client for .NET (C#/F#/VB)
MIT License
301 stars 47 forks source link

Add a missing mapping between Pulsar AuthChallenge command and its ha… #233

Closed LeoSht closed 1 year ago

LeoSht commented 1 year ago

Hello, I noticed that the Pulsar AuthChallenge command is not mapped to its handler, possibly just a typo?

Pulsar sends AuthChallenge command 1 minute before the Auth token expiration. Response should contain the new token.

Once mapped, the existing handler seems to work fine. Otherwise, the command is ignored, and Pulsar drops the connection when token expires. Tested manually with Token authentication.

Regards, Leo.