Class ApacheKafkaProducerConfig
java.lang.Object
com.linkedin.venice.pubsub.adapter.kafka.producer.ApacheKafkaProducerConfig
This class holds all properties used to construct
ApacheKafkaProducerAdapter
(This class could be refactored to hold consumer properties as well).
Tune and adjust the configs in this class to control the behavior of Apache Kafka producer.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Default Kafka batch size and linger time for better producer performance during ingestion.static final String
static final String
static final String
static final String
static final String
Legacy Kafka configs are using only kafka prefix.static final String
static final String
protected static final String
static final String
static final String
static final String
static final String
static final String
static final String
Deprecated. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
KAFKA_CONFIG_PREFIX
Legacy Kafka configs are using only kafka prefix. But now we are using pubsub.kafka prefix for all Kafka configs.- See Also:
-
PUBSUB_KAFKA_CLIENT_CONFIG_PREFIX
- See Also:
-
KAFKA_PRODUCER_CONFIG_PREFIXES
-
KAFKA_BOOTSTRAP_SERVERS
- See Also:
-
KAFKA_PRODUCER_RETRIES_CONFIG
- See Also:
-
KAFKA_LINGER_MS
- See Also:
-
KAFKA_BUFFER_MEMORY
- See Also:
-
KAFKA_CLIENT_ID
- See Also:
-
KAFKA_PRODUCER_DELIVERY_TIMEOUT_MS
- See Also:
-
KAFKA_PRODUCER_REQUEST_TIMEOUT_MS
- See Also:
-
SSL_KAFKA_BOOTSTRAP_SERVERS
- See Also:
-
KAFKA_POSITION_FACTORY_CLASS_NAME
-
SSL_TO_KAFKA_LEGACY
Deprecated.UseKAFKA_OVER_SSL
insteadN.B. do not attempt to change spelling, "kakfa", without carefully replacing all instances in use and some of them may be external to this repo- See Also:
-
KAFKA_OVER_SSL
- See Also:
-
DEFAULT_KAFKA_BATCH_SIZE
Default Kafka batch size and linger time for better producer performance during ingestion.- See Also:
-
DEFAULT_KAFKA_LINGER_MS
- See Also:
-
-
Constructor Details
-
ApacheKafkaProducerConfig
-
-
Method Details
-
getProducerProperties
-
getBrokerAddress
-
getPubSubMessageSerializer
-
KAFKA_OVER_SSL
instead