Note: Users should not be using GroupByKey transforms directly. Use instead
GroupBy, and Combine transforms.
GroupByKey is the primitive transform in Beam to force shuffling of data,
which helps us group data of the same key together. It's a necessary primitive
for any Beam SDK.
GroupByKey operations are used under the hood to execute combines,
streaming triggers, stateful transforms, etc.
Note: Users should not be using
GroupByKeytransforms directly. Use insteadGroupBy, andCombinetransforms.GroupByKeyis the primitive transform in Beam to force shuffling of data, which helps us group data of the same key together. It's a necessary primitive for any Beam SDK.GroupByKeyoperations are used under the hood to execute combines, streaming triggers, stateful transforms, etc.