public class ProducerConfig extends AbstractConfig
Modifier and Type | Field and Description |
---|---|
static String |
ACKS_CONFIG
acks |
static String |
BATCH_SIZE_CONFIG
batch.size |
static String |
BLOCK_ON_BUFFER_FULL_CONFIG
Deprecated.
This config will be removed in a future release. Please use
MAX_BLOCK_MS_CONFIG . |
static String |
BOOTSTRAP_SERVERS_CONFIG
bootstrap.servers |
static String |
BUFFER_MEMORY_CONFIG
buffer.memory |
static String |
CLIENT_ID_CONFIG
client.id |
static String |
COMPRESSION_TYPE_CONFIG
compression.type |
static String |
CONNECTIONS_MAX_IDLE_MS_CONFIG
connections.max.idle.ms |
static String |
INTERCEPTOR_CLASSES_CONFIG
interceptor.classes |
static String |
INTERCEPTOR_CLASSES_DOC |
static String |
KEY_SERIALIZER_CLASS_CONFIG
key.serializer |
static String |
KEY_SERIALIZER_CLASS_DOC |
static String |
LINGER_MS_CONFIG
linger.ms |
static String |
MAX_BLOCK_MS_CONFIG
max.block.ms |
static String |
MAX_IN_FLIGHT_REQUESTS_PER_CONNECTION
max.in.flight.requests.per.connection |
static String |
MAX_REQUEST_SIZE_CONFIG
max.request.size |
static String |
METADATA_FETCH_TIMEOUT_CONFIG
Deprecated.
This config will be removed in a future release. Please use
MAX_BLOCK_MS_CONFIG |
static String |
METADATA_MAX_AGE_CONFIG
metadata.max.age.ms |
static String |
METRIC_REPORTER_CLASSES_CONFIG
metric.reporters |
static String |
METRICS_NUM_SAMPLES_CONFIG
metrics.num.samples |
static String |
METRICS_SAMPLE_WINDOW_MS_CONFIG
metrics.sample.window.ms |
static String |
PARTITIONER_CLASS_CONFIG
partitioner.class |
static String |
RECEIVE_BUFFER_CONFIG
receive.buffer.bytes |
static String |
RECONNECT_BACKOFF_MS_CONFIG
reconnect.backoff.ms |
static String |
REQUEST_TIMEOUT_MS_CONFIG
request.timeout.ms |
static String |
RETRIES_CONFIG
retries |
static String |
RETRY_BACKOFF_MS_CONFIG
retry.backoff.ms |
static String |
SEND_BUFFER_CONFIG
send.buffer.bytes |
static String |
TIMEOUT_CONFIG
Deprecated.
This config will be removed in a future release. Please use
REQUEST_TIMEOUT_MS_CONFIG |
static String |
VALUE_SERIALIZER_CLASS_CONFIG
value.serializer |
static String |
VALUE_SERIALIZER_CLASS_DOC |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
addSerializerToConfig(Map<String,Object> configs,
Serializer<?> keySerializer,
Serializer<?> valueSerializer) |
static Properties |
addSerializerToConfig(Properties properties,
Serializer<?> keySerializer,
Serializer<?> valueSerializer) |
static void |
main(String[] args) |
equals, get, getBoolean, getClass, getConfiguredInstance, getConfiguredInstances, getDouble, getInt, getList, getLong, getPassword, getShort, getString, hashCode, ignore, logUnused, originals, originalsStrings, originalsWithPrefix, unused, values
public static final String BOOTSTRAP_SERVERS_CONFIG
bootstrap.servers
@Deprecated public static final String METADATA_FETCH_TIMEOUT_CONFIG
MAX_BLOCK_MS_CONFIG
public static final String METADATA_MAX_AGE_CONFIG
metadata.max.age.ms
public static final String BATCH_SIZE_CONFIG
batch.size
public static final String ACKS_CONFIG
acks
@Deprecated public static final String TIMEOUT_CONFIG
REQUEST_TIMEOUT_MS_CONFIG
public static final String LINGER_MS_CONFIG
linger.ms
public static final String CLIENT_ID_CONFIG
client.id
public static final String SEND_BUFFER_CONFIG
send.buffer.bytes
public static final String RECEIVE_BUFFER_CONFIG
receive.buffer.bytes
public static final String MAX_REQUEST_SIZE_CONFIG
max.request.size
public static final String RECONNECT_BACKOFF_MS_CONFIG
reconnect.backoff.ms
public static final String MAX_BLOCK_MS_CONFIG
max.block.ms
@Deprecated public static final String BLOCK_ON_BUFFER_FULL_CONFIG
MAX_BLOCK_MS_CONFIG
.public static final String BUFFER_MEMORY_CONFIG
buffer.memory
public static final String RETRY_BACKOFF_MS_CONFIG
retry.backoff.ms
public static final String COMPRESSION_TYPE_CONFIG
compression.type
public static final String METRICS_SAMPLE_WINDOW_MS_CONFIG
metrics.sample.window.ms
public static final String METRICS_NUM_SAMPLES_CONFIG
metrics.num.samples
public static final String METRIC_REPORTER_CLASSES_CONFIG
metric.reporters
public static final String MAX_IN_FLIGHT_REQUESTS_PER_CONNECTION
max.in.flight.requests.per.connection
public static final String RETRIES_CONFIG
retries
public static final String KEY_SERIALIZER_CLASS_CONFIG
key.serializer
public static final String KEY_SERIALIZER_CLASS_DOC
public static final String VALUE_SERIALIZER_CLASS_CONFIG
value.serializer
public static final String VALUE_SERIALIZER_CLASS_DOC
public static final String CONNECTIONS_MAX_IDLE_MS_CONFIG
connections.max.idle.ms
public static final String PARTITIONER_CLASS_CONFIG
partitioner.class
public static final String REQUEST_TIMEOUT_MS_CONFIG
request.timeout.ms
public static final String INTERCEPTOR_CLASSES_CONFIG
interceptor.classes
public static final String INTERCEPTOR_CLASSES_DOC
public static Map<String,Object> addSerializerToConfig(Map<String,Object> configs, Serializer<?> keySerializer, Serializer<?> valueSerializer)
public static Properties addSerializerToConfig(Properties properties, Serializer<?> keySerializer, Serializer<?> valueSerializer)
public static void main(String[] args)