Closed likevin97 closed 4 years ago
Also willing to consider other methods of authentication if this approach doesn't work.
I realize that AddAuth isn't properly adding the authCreds to the Conn. I tried adding the auth creds before even going into the loop() in Connect() using a separate thread but it seems like it still didn't get added.
Found the issue. It turns out that setting the ACLs for the zookeeper nodes was required for it to properly authenticate.
I'm trying to authenticate using the digest ACL scheme, but AddAuth doesn't seem to be triggering any logs in the client or the server. Here is the relevant code snippet:
There doesn't seem to be an error or any log at all for AddAuth. Not sure if AddAuth is doing anything functionally.