Class RandomKinesisPartitionKeyGenerator<T>
- java.lang.Object
-
- org.apache.flink.connector.kinesis.table.RandomKinesisPartitionKeyGenerator<T>
-
- Type Parameters:
T- The input element type.
- All Implemented Interfaces:
Serializable,java.util.function.Function<T,String>,PartitionKeyGenerator<T>
@PublicEvolving public final class RandomKinesisPartitionKeyGenerator<T> extends Object implements PartitionKeyGenerator<T>
APartitionKeyGeneratorthat maps an arbitrary inputelementto a random partition ID.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RandomKinesisPartitionKeyGenerator()
-