Browse Source
We don't allow changing number of partitions for internal topics. To do so we check if the topic name belongs to the set of internal topics directly instead of using the "isInternalTopic" method. This breaks the encapsulation by making client aware of the fact that internal topics have special names. This is a simple change to use the method `Topic::isInternalTopic` method instead of checking it directly in "alterTopic" command. We also reduce visibility to `Topic::INTERNAL_TOPICS` to avoid unnecessary reliance on it in the future. Reviewers: Jason Gustafson <jason@confluent.io>pull/7065/head
Vikas Singh
5 years ago
committed by
Jason Gustafson
3 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue