public final class ProducerDefaultConfiguration
extends java.lang.Object
DatabusProducer
unless they are provided by the SDK userModifier and Type | Field and Description |
---|---|
static java.lang.String |
MAX_BLOCK_MS_CONFIG_DEFAULT_VALUE
The max time in ms that controls how long the producer will block when calling send() method
|
static java.lang.String |
MAX_BLOCK_MS_CONFIG_KEY
The key name of the max block ms configuration parameter
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
get(java.lang.String key) |
static java.util.Properties |
getAll() |
public static final java.lang.String MAX_BLOCK_MS_CONFIG_DEFAULT_VALUE
public static final java.lang.String MAX_BLOCK_MS_CONFIG_KEY
public static java.util.Properties getAll()
public static java.lang.String get(java.lang.String key)
key
- the property key to look forDatabusProducer
will add it unless it being provided
by the SDK user.
If null is returned,DatabusProducer
will take
Kafka default configuration for the key.