public class RoundRobinPartitionMessageRouterImpl extends MessageRouterBase
hash| Constructor and Description |
|---|
RoundRobinPartitionMessageRouterImpl(HashingScheme hashingScheme,
int startPtnIdx,
boolean isBatchingEnabled,
long partitionSwitchMs) |
RoundRobinPartitionMessageRouterImpl(HashingScheme hashingScheme,
int startPtnIdx,
boolean isBatchingEnabled,
long partitionSwitchMs,
Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
int |
choosePartition(Message<?> msg,
TopicMetadata topicMetadata) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchoosePartitionpublic RoundRobinPartitionMessageRouterImpl(HashingScheme hashingScheme, int startPtnIdx, boolean isBatchingEnabled, long partitionSwitchMs)
public RoundRobinPartitionMessageRouterImpl(HashingScheme hashingScheme, int startPtnIdx, boolean isBatchingEnabled, long partitionSwitchMs, Clock clock)
public int choosePartition(Message<?> msg, TopicMetadata topicMetadata)
Copyright © 2017–2020 Apache Software Foundation. All rights reserved.