public class RoundRobinPartitionMessageRouterImpl extends MessageRouterBase
hash| Constructor and Description |
|---|
RoundRobinPartitionMessageRouterImpl(HashingScheme hashingScheme,
int startPtnIdx,
boolean isBatchingEnabled,
long maxBatchingDelayMs) |
RoundRobinPartitionMessageRouterImpl(HashingScheme hashingScheme,
int startPtnIdx,
boolean isBatchingEnabled,
long maxBatchingDelayMs,
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 maxBatchingDelayMs)
public RoundRobinPartitionMessageRouterImpl(HashingScheme hashingScheme, int startPtnIdx, boolean isBatchingEnabled, long maxBatchingDelayMs, Clock clock)
public int choosePartition(Message<?> msg, TopicMetadata topicMetadata)
Copyright © 2017–2019 Apache Software Foundation. All rights reserved.