Variations for TLS connectivity support in Pulsar Clients #23987
Unanswered
shasank112001
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, I noticed something in the way Pulsar Client's are built that has me confused a bit. I see there are a few ways to implement Authentication using TLS, and I would like to know your opinion on which is the best way.
In Java we have the following:
But we also have this:
If we move over to the C# library then we have the following:
This requires us to not use any Authentication class as was in Method 1 of Java.
However, If we now look at Python:
We have this, with not way of providing TLS information without the use of an Authentication object.
These inconsistencies are a bit confusing, especially as the pulsar docs advertise the different java implementations on the different pages.
Now my bigger concern is as TLS is important, so much so that it is often used as a base layer, while using JWT as Authentication, how does the community see this happening?
In Java, C# and GO this combination is possible because of the TLS fields being available outside of the Authentication Scope, however in Python this is not possible (atleast to my knowledge).
Beta Was this translation helpful? Give feedback.
All reactions