@Neha Pawar Yes, I know that periodic task auto detects and starts the consumption from new partitions.
My question is, if the broker gets the partition number from the condition value of the query and prunes the segment by the name of the segment, I don't think it will be able to find exactly the segments before and after the partition is added.