flowchartsman opened a new issue, #20451:
URL: https://github.com/apache/pulsar/issues/20451

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Version
   
   After enabling JWT auth on our cluster, all of our Go functions started 
failing.  This is because authentication information is only passed to the 
`pulsar-admin` command, and also because the Go function SDK has no concept of 
auth providers.
   
   ### Minimal reproduce step
   
   Just enable auth, and watch your go functions start to complain:
   ```2023/06/01 03:05:16.139 connection.go:226: [warning] Failed to establish 
connection with broker: 'Unable to authenticate' g 
remote_addr=pulsar://pulsar-broker.pulsar.svc.cluster.local:6650 
local_addr=172.27.168.187:37436                                                 
                                                                 2023/06/01 
03:05:45.027 log.go:77: [error] create producer error:connection error  
   │2023/06/01 03:05:45.027 instance.go:210: [fatal] connection error        
   
   ### What did you expect to see?
   
   Working functions.
   
   ### What did you see instead?
   
   Dead functions.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to