Live resegmenting of partitions in distributed stream-processing platforms
First Claim
1. A non-transitory computer readable medium comprising instructions which, when executed by one or more hardware processors, causes performance of operations comprising:
- upon receiving a trigger to move a partition of a distributed stream-processing platform from a first broker on a first set of physical resources to a second broker on a second a set of physical resources, allocating the partition on the second broker;
configuring the first broker to redirect, to the second broker, requests for new messages after a last offset in the partition without replicating older messages before the last offset to the second broker; and
updating metadata for processing requests for the partition to include the second broker.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for resegmenting a partition in a distributed stream-processing platform are provided. The techniques include receiving a trigger to move a partition of the distributed stream-processing platform from a first broker on a first set of physical resources to a second broker on a second a set of physical resources. In response to the trigger, the partition is allocated on the second broker, and the first broker is configured to redirect, to the second broker, requests for new messages after a last offset in the partition without replicating older messages before the last offset to the second broker. Idempotent produce metadata for the partition from the first broker is then merged into the second broker. Finally, metadata for processing requests for the partition is updated to include the second broker.
-
Citations
20 Claims
-
1. A non-transitory computer readable medium comprising instructions which, when executed by one or more hardware processors, causes performance of operations comprising:
-
upon receiving a trigger to move a partition of a distributed stream-processing platform from a first broker on a first set of physical resources to a second broker on a second a set of physical resources, allocating the partition on the second broker; configuring the first broker to redirect, to the second broker, requests for new messages after a last offset in the partition without replicating older messages before the last offset to the second broker; and updating metadata for processing requests for the partition to include the second broker. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method, comprising:
-
upon receiving a trigger to move a partition of a distributed stream-processing platform from a first broker on a first set of physical resources to a second broker on a second a set of physical resources, allocating the partition on the second broker; configuring, by a computer system, the first broker to redirect, to the second broker, requests for new messages after a last offset in the partition without replicating older messages before the last offset to the second broker; and updating metadata for processing requests for the partition to include the second broker. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
-
19. An apparatus, comprising:
-
one or more processors; and memory storing instructions that, when executed by the one or more processors, cause the apparatus to; upon receiving a trigger to move a partition of a distributed stream-processing platform from a first broker on a first set of physical resources to a second broker on a second a set of physical resources, allocate the partition on the second broker; configure the first broker to redirect, to the second broker, requests for new messages after a last offset in the partition without replicating older messages before the last offset to the second broker; and update metadata for processing requests for the partition to include the second broker. - View Dependent Claims (20)
-
Specification