Slackbot
01/15/2024, 9:34 AMLari Hotari
01/15/2024, 10:43 AMI am assuming there are watches on this path so that the relevant broker (bundle owner) understands this and creates any increased partitions?I don't think that bundle owners do anything when the partitions are increased. Pulsar simply waits for a producer or consumer to connect before anything is done. The clients are the ones that are active when the partitions are increased. In Pulsar Java client, the producer's and consumer's
autoUpdatePartitions/autoUpdatePartitionsInterval settings control this.Girish Sharma
01/15/2024, 2:55 PMLari Hotari
01/15/2024, 4:09 PMThen what about topic deletion leading to individual brokers deleting their local topic object reference?@Girish Sharma With a quick glance I didn't find code that would delete partitions when the the number of partitions is reduced. It's possible that handling is missing and each individual topic for the removed partitions should be deleted manually.
Girish Sharma
01/15/2024, 4:49 PMLari Hotari
01/15/2024, 6:15 PMGirish Sharma
01/15/2024, 9:12 PMLari Hotari
01/15/2024, 11:29 PM