You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "The number of partitions for the topic. This determines how the data is distributed across brokers. Increases are fully supported without data loss, decreases will result in an error and should be accomplished by creating a new topic and migrating the data.",
24
+
Description: "The number of partitions for the topic. This determines how the data is distributed across brokers. Increases are fully supported without data loss. Decreases will destroy and recreate the topic if allow_deletion is set to true (defaults to false).",
23
25
Optional: true,
24
26
Computed: true,
25
27
PlanModifiers: []planmodifier.Number{
26
28
numberplanmodifier.UseStateForUnknown(),
29
+
numberplanmodifier.RequiresReplaceIf(
30
+
partitionRequiresReplaceWhenShrinking,
31
+
"Decreasing partition count requires recreating the topic",
32
+
"Decreasing partition count requires recreating the topic",
0 commit comments