Class CustomPartitionerWrapper<K,T>

java.lang.Object
org.apache.flink.streaming.runtime.partitioner.StreamPartitioner<T>
org.apache.flink.streaming.runtime.partitioner.CustomPartitionerWrapper<K,T>
Type Parameters:
K - Type of the key
T - Type of the data
All Implemented Interfaces:
Serializable, ChannelSelector<SerializationDelegate<StreamRecord<T>>>

@Internal public class CustomPartitionerWrapper<K,T> extends StreamPartitioner<T>
Partitioner that selects the channel with a user defined partitioner function on a key.
See Also:
  • Constructor Details

    • CustomPartitionerWrapper

      public CustomPartitionerWrapper(org.apache.flink.api.common.functions.Partitioner<K> partitioner, org.apache.flink.api.java.functions.KeySelector<T,K> keySelector)
  • Method Details