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

docs(pubsublite): example for configuring earlier OAuth token refresh #7745

Merged
merged 2 commits into from
Apr 19, 2023

Conversation

tmdiep
Copy link
Contributor

@tmdiep tmdiep commented Apr 13, 2023

Add an example for creating a publisher client configured to refresh OAuth tokens 5 minutes before they expire. This avoids authentication errors that cause the publisher client to terminate when token refreshes are delayed.

@tmdiep tmdiep requested review from a team and shollyman as code owners April 13, 2023 06:07
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: pubsublite Issues related to the Pub/Sub Lite API. labels Apr 13, 2023
@tmdiep tmdiep added the automerge Merge the pull request once unit tests and other checks pass. label Apr 19, 2023
@gcf-merge-on-green gcf-merge-on-green bot merged commit 290d637 into googleapis:main Apr 19, 2023
6 checks passed
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Apr 19, 2023
gcf-merge-on-green bot pushed a commit that referenced this pull request Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsublite Issues related to the Pub/Sub Lite API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants