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

Pub/Sub: Expose publish retry settings #8231

Merged
merged 3 commits into from
Jun 6, 2019
Merged

Pub/Sub: Expose publish retry settings #8231

merged 3 commits into from
Jun 6, 2019

Conversation

anguillanneuf
Copy link
Contributor

This closes #6641.

This PR updates the GAPIC publisher client using synth.py.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 6, 2019
@anguillanneuf anguillanneuf requested a review from plamut June 6, 2019 00:09
@anguillanneuf anguillanneuf added the api: pubsub Issues related to the Pub/Sub API. label Jun 6, 2019
pubsub/synth.py Outdated Show resolved Hide resolved
pubsub/noxfile.py Outdated Show resolved Hide resolved
Copy link
Contributor

@plamut plamut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

I tried overriding one of the timeout settings for a publisher through the client_config setting, and it worked. I also (correctly) got an error if an incorrect key was provided.

The rest of the comments on the original PR have been addressed, I only left a sanity check remark. If that is a non-concern, we are good to go IMO.

pubsub/noxfile.py Show resolved Hide resolved
Copy link
Contributor

@busunkim96 busunkim96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Synth file looks good to me!

@plamut
Copy link
Contributor

plamut commented Jun 6, 2019

Based on @busunkim96's comment, this seems to be good for merging. 👍

@plamut plamut merged commit fc2cc86 into master Jun 6, 2019
@anguillanneuf anguillanneuf deleted the retry branch June 6, 2019 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the Pub/Sub API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pub/Sub: publisher client's publish method does not expose retry settings
4 participants