You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/01/10 00:47:19 UTC
[GitHub] [pulsar] cagucor opened a new issue #13684: Token Authentication by context - pulsar-function-go
cagucor opened a new issue #13684:
URL: https://github.com/apache/pulsar/issues/13684
Hi Everyone, this issue is about the pulsar-function-go package.
**Describe the solution you'd like**
I need to authenticate a pulsar function to connect with a cluster. Would it be possible to authenticate the function using the context with a token parameter supplied through the config file?
**Describe alternatives you've considered**
Reading the documentation I can see how function auth is done in k8s by using the TokenAuthProvider. However, I want to test my function locally first.
**Additional context**
I may be wrong, but the feature doesn't seem too difficult to implement and would require a change to the setupClient() function similar to the code I added in line 194.
<img width="733" alt="Screen Shot 2022-01-10 at 1 42 19 PM" src="https://user-images.githubusercontent.com/55970423/148707859-7d70773e-c4dc-44a5-b447-c6f78d63dbf1.png">
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] github-actions[bot] commented on issue #13684: Token Authentication by context - pulsar-function-go
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #13684:
URL: https://github.com/apache/pulsar/issues/13684#issuecomment-1051437101
The issue had no activity for 30 days, mark with Stale label.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org