Closed ybyzek closed 4 years ago
@rmoff @bbejeck if we created this KT, and included changing both partition count and replica count, would it be ok to retire https://www.confluent.io/stream-processing-cookbook/ksql-recipes/repartitioning-changing-replication ?
Yes, sounds good.
minor nit: You don't need to respecify VALUE_FORMAT
in the output if you're not changing it from the input AFAIK
Changing number of partitions using ksqlDB Show the recommended steps to change the number of partitions.
This is one possible example in case the producers can be stopped (open for discussion):
Stop producers Run the ksqlDB query:
Check all data has been migrated Increase number of consumers in the consumer group Change topic subscription of the consumer group to new-topic (auto.offset.reset=’latest’)
cc: @SrWaves