Class AddShardKeyDoFn

java.lang.Object
org.apache.beam.sdk.transforms.DoFn<Solace.Record,KV<Integer,Solace.Record>>
org.apache.beam.sdk.io.solace.write.AddShardKeyDoFn
All Implemented Interfaces:
Serializable, HasDisplayData

@Internal public class AddShardKeyDoFn extends DoFn<Solace.Record,KV<Integer,Solace.Record>>
This class adds pseudo-key with a given cardinality. The downstream steps will use state & timers to distribute the data and control for the number of parallel workers used for writing.
See Also: