public class ProducerClientConfig extends ClientConfig
ClientConfig.ClientConfigType
Modifier and Type | Field and Description |
---|---|
static String |
BOOTSTRAP_SERVERS_CONFIG |
static String |
BOOTSTRAP_SERVERS_DOC |
static boolean |
DEFAULT_SUBSET_PARTITIONER_ENABLED |
static String |
PREFIX_PRODUCER |
static String |
SUBSET_PARTITIONER_ENABLED |
static String |
SUBSET_PARTITIONER_ENABLED_DOC |
TYPE_CONFIG, TYPE_CONFIG_DOC
Constructor and Description |
---|
ProducerClientConfig(String name,
Map<?,?> originals,
boolean doLog) |
Modifier and Type | Method and Description |
---|---|
Properties |
getProducerProperties() |
static Properties |
getProducerProperties(boolean subsetPartitionerEnabled,
Map<String,Object> producerConfigs) |
getName, getType, parseType
documentationOf, equals, getBoolean, getClass, getConfiguredInstance, getConfiguredInstance, getConfiguredInstances, getConfiguredInstances, getConfiguredInstances, getDouble, getInt, getList, getLong, getPassword, getShort, getString, hashCode, ignore, logUnused, nonInternalValues, originals, originals, originalsStrings, originalsWithPrefix, originalsWithPrefix, typeOf, unused, values, valuesWithPrefixAllOrNothing, valuesWithPrefixOverride
public static final String PREFIX_PRODUCER
public static final String BOOTSTRAP_SERVERS_CONFIG
public static final String BOOTSTRAP_SERVERS_DOC
public static final String SUBSET_PARTITIONER_ENABLED
public static final String SUBSET_PARTITIONER_ENABLED_DOC
public static final boolean DEFAULT_SUBSET_PARTITIONER_ENABLED
public Properties getProducerProperties()
public static Properties getProducerProperties(boolean subsetPartitionerEnabled, Map<String,Object> producerConfigs)