@Deprecated public static enum ProducerConfiguration.MessageRoutingMode extends Enum<ProducerConfiguration.MessageRoutingMode>
| Enum Constant and Description |
|---|
CustomPartition
Deprecated.
|
RoundRobinPartition
Deprecated.
|
SinglePartition
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ProducerConfiguration.MessageRoutingMode |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ProducerConfiguration.MessageRoutingMode[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProducerConfiguration.MessageRoutingMode SinglePartition
public static final ProducerConfiguration.MessageRoutingMode RoundRobinPartition
public static final ProducerConfiguration.MessageRoutingMode CustomPartition
public static ProducerConfiguration.MessageRoutingMode[] values()
for (ProducerConfiguration.MessageRoutingMode c : ProducerConfiguration.MessageRoutingMode.values()) System.out.println(c);
public static ProducerConfiguration.MessageRoutingMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017–2018 Apache Software Foundation. All rights reserved.