k2v-academy / K2View-Academy

Other
0 stars 0 forks source link

How are partitions for common table related topics defined? #1063

Closed pWIqmFHmGnqqlIyFDwZIlw1JWRHoo8AgicH1IWD closed 4 months ago

pWIqmFHmGnqqlIyFDwZIlw1JWRHoo8AgicH1IWD commented 4 months ago

When I deploy references, the corresponding topics will be created with how many partitions? Is it a fixed value? Is it dependent on the num.partitions property in server.properties?

Also, does the common area consumer check for how many partitions are in the topic? Does it matter to this consumer?

i7QC2njzxHCc0LYBqCh0HQf30xF2DYuJjqtFbNe commented 4 months ago

Common tables are not using partitions, it is using partition_id as zero, it can't be changed in the configuration.