GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [fix][fn] enable Go function token auth and TLS by flowchartsman · Pull Request #20468 · apache/pulsar Conversation
Contributor
Fixes #20451 MotivationGo functions die when auth is turned on. I would like them to not die. ModificationsAdded transport of auth plugin and auth plugin params to go instance config. Verifying this change
Does this pull request potentially affect one of the following parts:If the box was checked, please highlight the changes
Documentation
No doc change needed, because the docs don't mention the exception, so now the intuitive assumption holds. Matching PR in forked repositoryPR in forked repository: flowchartsman#6
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThis is the intial checkin of the work on apache#20451, currently supporting org.apache.pulsar.client.impl.auth/AuthenticationToken only.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
michaeljmarshall
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LGTM. The one detail I see that might be missing for the go function runtime is an ability to configure TLS. Token based auth is recommended to be performed over TLS. That feature would go in another PR. At the very least, we'll want to document this limitation to make sure users are aware of the current state of go functions.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
flowchartsman
marked this pull request as draft
|
There was an error while loading. Please reload this page.
|
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Great work @flowchartsman! I left one comment, but it's very minor.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## master #20468 +/- ## ============================================ - Coverage 72.95% 72.91% -0.05% + Complexity 31914 31907 -7 ============================================ Files 1867 1867 Lines 138485 138540 +55 Branches 15202 15208 +6 ============================================ - Hits 101037 101014 -23 - Misses 29438 29509 +71 - Partials 8010 8017 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Merging... Thanks for your contribution @flowchartsman! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Note: there were conflicts with the go.sum file. In order to get things working, I cleared out the conflicts and then ran `go mod tidy` in the `pulsar-funcion-go/examples` directory. Co-authored-by: Andy Walker <[email protected]> (cherry picked from commit 8b3c085)
Co-authored-by: Andy Walker <[email protected]> (cherry picked from commit 8b3c085)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug][fn] Go functions runtime does not support any sort of auth.
There was an error while loading. Please reload this page.