Closed shimon-armis closed 7 months ago
@yolken-segment @cdignam-segment Hey guys. Can you plz take a look?
@hhahn-tw @petedannemann Can you guys please review this one?
@hhahn-tw Can you please assist with PR check?
@noorul @jkoelker @mericsson @hhahn-tw Can you guys assist with the PR check failure? It doesn't seem related to my change.
@noorul @jkoelker @mericsson @hhahn-tw Can you guys assist with the PR check failure? It doesn't seem related to my change.
just rebase, it got removed recently: https://github.com/segmentio/topicctl/commit/b83ceba9383c89372b325f193caa113b9cd17eb7
@jkoelker can you please approve?
@jkoelker I've addressed the comment and updated the code. Can you please approve?
@yolken-segment @cdignam-segment Can you guys approve? (Looking for a maintainer to approve - not sure who is the maintainer here...)
@jkoelker Who can merge this?
@hhahn-tw @jkoelker Who can merge this PR?
Description
When applying topic's configuration, we'd like to be able avoid failing in case the desired topic's partitions count is smaller than the actual topic's partitions count (on the broker). We know that Kafka doesn't allow partitions decrease so instead of failing the operation we'd like to continue without doing anything (and make this operation idempotent, in that aspect). This is very convenient when trying to apply a batch of topics in which case, we don't want to fail the rest of the batch for one topic that its partitions count configuration is lower than the actual partitions count. (on the broker).
This change is backward compatible, as the default behavior is kept.