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

feat(pubsublite): allow increasing the number of topic partitions #3647

Merged
merged 3 commits into from Feb 18, 2021

Conversation

tmdiep
Copy link
Contributor

@tmdiep tmdiep commented Feb 2, 2021

Allows increasing the number of partitions when updating a topic config. Updates documentation, examples and integration tests.

Will not be merged until server changes have been fully rolled out.

@tmdiep tmdiep added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Feb 2, 2021
@tmdiep tmdiep requested review from a team as code owners February 2, 2021 01:13
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Feb 2, 2021
@product-auto-label product-auto-label bot added the api: pubsublite Issues related to the Pub/Sub Lite API. label Feb 2, 2021
@@ -189,6 +189,7 @@ func TestIntegration_ResourceAdminOperations(t *testing.T) {

topicUpdate1 := TopicConfigToUpdate{
Name: topicPath,
PartitionCount: 2,
Copy link
Member

Choose a reason for hiding this comment

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

What happens when a PartitionCount doesn't change? Will the server throw an error here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question. I just tried it and it's a no-op.

@tmdiep tmdiep removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Feb 18, 2021
@tmdiep tmdiep merged commit 1f85fdc into googleapis:master Feb 18, 2021
@tmdiep tmdiep deleted the increase_partitions branch February 18, 2021 08:20
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. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants