Class ProducerConfig
java.lang.Object
org.apache.kafka.common.config.AbstractConfig
org.oracle.okafka.clients.producer.ProducerConfig
public class ProducerConfig
extends org.apache.kafka.common.config.AbstractConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringacksstatic final Stringbatch.sizestatic final Stringbootstrap.serversstatic final Stringbuffer.memorystatic final Stringclient.dns.lookupstatic final Stringclient.idstatic final Stringcompression.type(This property is not yet supported)static final Stringconnections.max.idle.ms(This property is not yet supported)static final Stringdelivery.timeout.msstatic final Stringenable.idempotence(This property is not yet supported)static final Stringstatic final Stringinterceptor.classesstatic final Stringstatic final Stringkey.serializerstatic final Stringstatic final Stringlinger.msstatic final Stringmax.block.msstatic final Stringmax.in.flight.requests.per.connection(This property is not yet supported)static final Stringmax.request.sizestatic final Stringmetadata.max.age.msstatic final Stringmetadata.max.idle.msstatic final Stringmetric.reporters(This property is not yet supported)static final Stringmetrics.num.samples(This property is not yet supported)static final Stringmetrics.log.level(This property is not yet supported)static final Stringmetrics.sample.window.ms(This property is not yet supported)static final Stringoracle.instance.namestatic final Stringoracle.net.tns_adminstatic final Stringoracle.service.namestatic final Stringstatic final Stringstatic final Stringpartitioner.classstatic final Stringreceive.buffer.bytes(This property is not yet supported)static final Stringreconnect.backoff.max.msstatic final Stringreconnect.backoff.msstatic final Stringrequest.timeout.ms(This property is not yet supported)static final Stringretriesstatic final Stringretry.backoff.msstatic final Stringsend.buffer.bytes(This property is not yet supported)static final Stringsocket.connection.setup.timeout.max.msstatic final Stringsocket.connection.setup.timeout.msstatic final Stringtransaction.timeout.ms (This property is not yet supported)static final Stringstatic final Stringtransactional.id (This property is not yet supported)static final Stringstatic final Stringvalue.serializerstatic final StringFields inherited from class org.apache.kafka.common.config.AbstractConfig
AUTOMATIC_CONFIG_PROVIDERS_PROPERTY, CONFIG_PROVIDERS_CONFIG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSerializerToConfig(Map<String, Object> configs, org.apache.kafka.common.serialization.Serializer<?> keySerializer, org.apache.kafka.common.serialization.Serializer<?> valueSerializer) static PropertiesaddSerializerToConfig(Properties properties, org.apache.kafka.common.serialization.Serializer<?> keySerializer, org.apache.kafka.common.serialization.Serializer<?> valueSerializer) static voidMethods inherited from class org.apache.kafka.common.config.AbstractConfig
documentationOf, equals, get, getBoolean, getClass, getConfiguredInstance, getConfiguredInstance, getConfiguredInstances, getConfiguredInstances, getConfiguredInstances, getDouble, getInt, getList, getLong, getPassword, getShort, getString, hashCode, ignore, logUnused, nonInternalValues, originals, originals, originalsStrings, originalsWithPrefix, originalsWithPrefix, postProcessParsedConfig, typeOf, unused, values, valuesWithPrefixAllOrNothing, valuesWithPrefixOverride
-
Field Details
-
ORACLE_INSTANCE_NAME
oracle.instance.name- See Also:
-
ORACLE_SERVICE_NAME
oracle.service.name- See Also:
-
ORACLE_NET_TNS_ADMIN
oracle.net.tns_admin- See Also:
-
ORACLE_TRANSACTIONAL_PRODUCER
- See Also:
-
ORACLE_TRANSACTIONAL_PRODUCER_DOC
- See Also:
-
BOOTSTRAP_SERVERS_CONFIG
bootstrap.servers- See Also:
-
CLIENT_DNS_LOOKUP_CONFIG
client.dns.lookup- See Also:
-
SOCKET_CONNECTION_SETUP_TIMEOUT_MS_CONFIG
socket.connection.setup.timeout.ms- See Also:
-
SOCKET_CONNECTION_SETUP_TIMEOUT_MAX_MS_CONFIG
socket.connection.setup.timeout.max.ms- See Also:
-
METADATA_MAX_AGE_CONFIG
metadata.max.age.ms- See Also:
-
BATCH_SIZE_CONFIG
batch.size- See Also:
-
ACKS_CONFIG
acks- See Also:
-
LINGER_MS_CONFIG
linger.ms- See Also:
-
CLIENT_ID_CONFIG
client.id- See Also:
-
SEND_BUFFER_CONFIG
send.buffer.bytes(This property is not yet supported)- See Also:
-
RECEIVE_BUFFER_CONFIG
receive.buffer.bytes(This property is not yet supported)- See Also:
-
MAX_REQUEST_SIZE_CONFIG
max.request.size- See Also:
-
RECONNECT_BACKOFF_MS_CONFIG
reconnect.backoff.ms- See Also:
-
RECONNECT_BACKOFF_MAX_MS_CONFIG
reconnect.backoff.max.ms- See Also:
-
MAX_BLOCK_MS_CONFIG
max.block.ms- See Also:
-
METADATA_MAX_IDLE_CONFIG
metadata.max.idle.ms- See Also:
-
BUFFER_MEMORY_CONFIG
buffer.memory- See Also:
-
RETRY_BACKOFF_MS_CONFIG
retry.backoff.ms- See Also:
-
COMPRESSION_TYPE_CONFIG
compression.type(This property is not yet supported)- See Also:
-
METRICS_SAMPLE_WINDOW_MS_CONFIG
metrics.sample.window.ms(This property is not yet supported)- See Also:
-
METRICS_NUM_SAMPLES_CONFIG
metrics.num.samples(This property is not yet supported)- See Also:
-
METRICS_RECORDING_LEVEL_CONFIG
metrics.log.level(This property is not yet supported)- See Also:
-
METRIC_REPORTER_CLASSES_CONFIG
metric.reporters(This property is not yet supported)- See Also:
-
MAX_IN_FLIGHT_REQUESTS_PER_CONNECTION
max.in.flight.requests.per.connection(This property is not yet supported)- See Also:
-
RETRIES_CONFIG
retries- See Also:
-
KEY_SERIALIZER_CLASS_CONFIG
key.serializer- See Also:
-
KEY_SERIALIZER_CLASS_DOC
- See Also:
-
VALUE_SERIALIZER_CLASS_CONFIG
value.serializer- See Also:
-
VALUE_SERIALIZER_CLASS_DOC
- See Also:
-
CONNECTIONS_MAX_IDLE_MS_CONFIG
connections.max.idle.ms(This property is not yet supported)- See Also:
-
PARTITIONER_CLASS_CONFIG
partitioner.class- See Also:
-
REQUEST_TIMEOUT_MS_CONFIG
request.timeout.ms(This property is not yet supported)- See Also:
-
INTERCEPTOR_CLASSES_CONFIG
interceptor.classes- See Also:
-
INTERCEPTOR_CLASSES_DOC
- See Also:
-
ENABLE_IDEMPOTENCE_CONFIG
enable.idempotence(This property is not yet supported)- See Also:
-
ENABLE_IDEMPOTENCE_DOC
- See Also:
-
TRANSACTION_TIMEOUT_CONFIG
transaction.timeout.ms (This property is not yet supported)- See Also:
-
TRANSACTION_TIMEOUT_DOC
- See Also:
-
TRANSACTIONAL_ID_CONFIG
transactional.id (This property is not yet supported)- See Also:
-
TRANSACTIONAL_ID_DOC
- See Also:
-
DELIVERY_TIMEOUT_MS_CONFIG
delivery.timeout.ms- See Also:
-
-
Constructor Details
-
ProducerConfig
-
ProducerConfig
-
-
Method Details
-
addSerializerToConfig
-
addSerializerToConfig
public static Properties addSerializerToConfig(Properties properties, org.apache.kafka.common.serialization.Serializer<?> keySerializer, org.apache.kafka.common.serialization.Serializer<?> valueSerializer) -
configNames
-
main
-