public class KafkaMessageRouter
extends org.apache.pulsar.client.impl.RoundRobinPartitionMessageRouterImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
PARTITION_ID |
| Constructor and Description |
|---|
KafkaMessageRouter(long maxBatchingDelayMs) |
| Modifier and Type | Method and Description |
|---|---|
int |
choosePartition(org.apache.pulsar.client.api.Message<?> msg,
org.apache.pulsar.client.api.TopicMetadata metadata) |
public static final String PARTITION_ID
public int choosePartition(org.apache.pulsar.client.api.Message<?> msg,
org.apache.pulsar.client.api.TopicMetadata metadata)
choosePartition in interface org.apache.pulsar.client.api.MessageRouterchoosePartition in class org.apache.pulsar.client.impl.RoundRobinPartitionMessageRouterImplCopyright © 2017–2019 Apache Software Foundation. All rights reserved.