Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to update auth data during function update #4198

Merged
merged 9 commits into from
May 6, 2019

Conversation

jerrypeng
Copy link
Contributor

Motivation

Currently, after a function is submitted there is no way to update the auth data associated with the function.

Users may want to be able to update the auth data of a function that is running.

This will especially support use cases involving initially running Pulsar without authentication enabled but then enabling authentication. Functions need to be able to be updated to have auth data for a seamless transition

Modifications

Allow users to update the auth data when updating a function.

Have a flag to control whether to update the auth data of the function or simply keep using the existing auth data

Improve the FunctionAuthProvider interface to support this use case

@jerrypeng jerrypeng self-assigned this May 3, 2019
@jerrypeng jerrypeng added this to the 2.4.0 milestone May 3, 2019
@jerrypeng
Copy link
Contributor Author

rerun java8 tests

@jerrypeng
Copy link
Contributor Author

rerun java8 tests

@jerrypeng jerrypeng merged commit 08fcc21 into apache:master May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants