public static class Partitioners.ExpressionLanguagePartitioner extends Object implements org.apache.kafka.clients.producer.Partitioner
| Constructor and Description |
|---|
ExpressionLanguagePartitioner() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Map<String,?> configs) |
int |
partition(String topic,
Object key,
byte[] keyBytes,
Object value,
byte[] valueBytes,
org.apache.kafka.common.Cluster cluster) |
public int partition(String topic, Object key, byte[] keyBytes, Object value, byte[] valueBytes, org.apache.kafka.common.Cluster cluster)
partition in interface org.apache.kafka.clients.producer.Partitionerpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.kafka.clients.producer.PartitionerCopyright © 2022 Apache NiFi Project. All rights reserved.