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

[python functions] use keyword argument to create pulsar_client #11080

Conversation

freeznet
Copy link
Contributor

Motivation

Pulsar's Python client defines Client class with multiple arguments which have a default value, this allows user to init Client class with keyword argument style.

Currently, python functions runtime uses positional argument style, which will have accidentally issues if other contributors add a new argument and not put the new argument as the last one.

Modifications

use keyword argument style to create pulsar_client in python functions runtime.

Verifying this change

  • Make sure that the change passes the CI checks.

@merlimat merlimat merged commit eafe7dd into apache:master Jun 24, 2021
kaushik-develop pushed a commit to kaushik-develop/pulsar that referenced this pull request Jun 24, 2021
@codelipenghui codelipenghui added this to the 2.9.0 milestone Jul 23, 2021
codelipenghui pushed a commit that referenced this pull request Jul 23, 2021
@codelipenghui codelipenghui added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Jul 23, 2021
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/branch-2.8 Archived: 2.8 is end of life release/2.8.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants