Skip to content

feat(pubsublite): unload idle partition publishers#7105

Merged
tmdiep merged 13 commits intogoogleapis:mainfrom
tmdiep:lazy_publisher
Dec 9, 2022
Merged

feat(pubsublite): unload idle partition publishers#7105
tmdiep merged 13 commits intogoogleapis:mainfrom
tmdiep:lazy_publisher

Conversation

@tmdiep
Copy link
Copy Markdown
Contributor

@tmdiep tmdiep commented Nov 30, 2022

Lazily creates partition publishers and unloads them after 5 minutes of inactivity. This avoids connecting gRPC streams to the server for publisher clients that seldom publish.

@tmdiep tmdiep requested review from a team November 30, 2022 06:58
@tmdiep tmdiep requested a review from shollyman as a code owner November 30, 2022 06:58
@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 Nov 30, 2022
@tmdiep tmdiep added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 30, 2022
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Dec 1, 2022
@tmdiep tmdiep removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 1, 2022
@tmdiep tmdiep changed the title feat(pubsublite): lazily create partition publishers feat(pubsublite): unload idle partition publishers Dec 8, 2022
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: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants