Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
AUTO_COMMIT_INTERVAL_MS_CONFIG |
"auto.commit.interval.ms" |
public static final String |
AUTO_OFFSET_RESET_CONFIG |
"auto.offset.reset" |
public static final String |
AUTO_OFFSET_RESET_DOC |
"What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server (e.g. because that data has been deleted): <ul><li>earliest: automatically reset the offset to the earliest offset<li>latest: automatically reset the offset to the latest offset</li><li>none: throw exception to the consumer if no previous offset is found for the consumer\'s group</li><li>anything else: throw exception to the consumer.</li></ul>" |
public static final String |
BOOTSTRAP_SERVERS_CONFIG |
"bootstrap.servers" |
public static final String |
CHECK_CRCS_CONFIG |
"check.crcs" |
public static final String |
CLIENT_ID_CONFIG |
"client.id" |
public static final String |
CONNECTIONS_MAX_IDLE_MS_CONFIG |
"connections.max.idle.ms" |
public static final boolean |
DEFAULT_EXCLUDE_INTERNAL_TOPICS |
true |
public static final int |
DEFAULT_FETCH_MAX_BYTES |
52428800 |
public static final int |
DEFAULT_MAX_PARTITION_FETCH_BYTES |
1048576 |
public static final String |
ENABLE_AUTO_COMMIT_CONFIG |
"enable.auto.commit" |
public static final String |
EXCLUDE_INTERNAL_TOPICS_CONFIG |
"exclude.internal.topics" |
public static final String |
FETCH_MAX_BYTES_CONFIG |
"fetch.max.bytes" |
public static final String |
FETCH_MAX_WAIT_MS_CONFIG |
"fetch.max.wait.ms" |
public static final String |
FETCH_MIN_BYTES_CONFIG |
"fetch.min.bytes" |
public static final String |
GROUP_ID_CONFIG |
"group.id" |
public static final String |
HEARTBEAT_INTERVAL_MS_CONFIG |
"heartbeat.interval.ms" |
public static final String |
INTERCEPTOR_CLASSES_CONFIG |
"interceptor.classes" |
public static final String |
INTERCEPTOR_CLASSES_DOC |
"A list of classes to use as interceptors. Implementing the <code>ConsumerInterceptor</code> interface allows you to intercept (and possibly mutate) records received by the consumer. By default, there are no interceptors." |
public static final String |
KEY_DESERIALIZER_CLASS_CONFIG |
"key.deserializer" |
public static final String |
KEY_DESERIALIZER_CLASS_DOC |
"Deserializer class for key that implements the <code>Deserializer</code> interface." |
public static final String |
MAX_PARTITION_FETCH_BYTES_CONFIG |
"max.partition.fetch.bytes" |
public static final String |
MAX_POLL_INTERVAL_MS_CONFIG |
"max.poll.interval.ms" |
public static final String |
MAX_POLL_RECORDS_CONFIG |
"max.poll.records" |
public static final String |
METADATA_MAX_AGE_CONFIG |
"metadata.max.age.ms" |
public static final String |
METRIC_REPORTER_CLASSES_CONFIG |
"metric.reporters" |
public static final String |
METRICS_NUM_SAMPLES_CONFIG |
"metrics.num.samples" |
public static final String |
METRICS_RECORDING_LEVEL_CONFIG |
"metrics.recording.level" |
public static final String |
METRICS_SAMPLE_WINDOW_MS_CONFIG |
"metrics.sample.window.ms" |
public static final String |
PARTITION_ASSIGNMENT_STRATEGY_CONFIG |
"partition.assignment.strategy" |
public static final String |
RECEIVE_BUFFER_CONFIG |
"receive.buffer.bytes" |
public static final String |
RECONNECT_BACKOFF_MS_CONFIG |
"reconnect.backoff.ms" |
public static final String |
REQUEST_TIMEOUT_MS_CONFIG |
"request.timeout.ms" |
public static final String |
RETRY_BACKOFF_MS_CONFIG |
"retry.backoff.ms" |
public static final String |
SEND_BUFFER_CONFIG |
"send.buffer.bytes" |
public static final String |
SESSION_TIMEOUT_MS_CONFIG |
"session.timeout.ms" |
public static final String |
VALUE_DESERIALIZER_CLASS_CONFIG |
"value.deserializer" |
public static final String |
VALUE_DESERIALIZER_CLASS_DOC |
"Deserializer class for value that implements the <code>Deserializer</code> interface." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final long |
NO_TIMESTAMP |
-1L |
public static final int |
NULL_CHECKSUM |
-1 |
public static final int |
NULL_SIZE |
-1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
ACKS_CONFIG |
"acks" |
public static final String |
BATCH_SIZE_CONFIG |
"batch.size" |
public static final String |
BLOCK_ON_BUFFER_FULL_CONFIG |
"block.on.buffer.full" |
public static final String |
BOOTSTRAP_SERVERS_CONFIG |
"bootstrap.servers" |
public static final String |
BUFFER_MEMORY_CONFIG |
"buffer.memory" |
public static final String |
CLIENT_ID_CONFIG |
"client.id" |
public static final String |
COMPRESSION_TYPE_CONFIG |
"compression.type" |
public static final String |
CONNECTIONS_MAX_IDLE_MS_CONFIG |
"connections.max.idle.ms" |
public static final String |
INTERCEPTOR_CLASSES_CONFIG |
"interceptor.classes" |
public static final String |
INTERCEPTOR_CLASSES_DOC |
"A list of classes to use as interceptors. Implementing the <code>ProducerInterceptor</code> interface allows you to intercept (and possibly mutate) the records received by the producer before they are published to the Kafka cluster. By default, there are no interceptors." |
public static final String |
KEY_SERIALIZER_CLASS_CONFIG |
"key.serializer" |
public static final String |
KEY_SERIALIZER_CLASS_DOC |
"Serializer class for key that implements the <code>Serializer</code> interface." |
public static final String |
LINGER_MS_CONFIG |
"linger.ms" |
public static final String |
MAX_BLOCK_MS_CONFIG |
"max.block.ms" |
public static final String |
MAX_IN_FLIGHT_REQUESTS_PER_CONNECTION |
"max.in.flight.requests.per.connection" |
public static final String |
MAX_REQUEST_SIZE_CONFIG |
"max.request.size" |
public static final String |
METADATA_FETCH_TIMEOUT_CONFIG |
"metadata.fetch.timeout.ms" |
public static final String |
METADATA_MAX_AGE_CONFIG |
"metadata.max.age.ms" |
public static final String |
METRIC_REPORTER_CLASSES_CONFIG |
"metric.reporters" |
public static final String |
METRICS_NUM_SAMPLES_CONFIG |
"metrics.num.samples" |
public static final String |
METRICS_SAMPLE_WINDOW_MS_CONFIG |
"metrics.sample.window.ms" |
public static final String |
PARTITIONER_CLASS_CONFIG |
"partitioner.class" |
public static final String |
RECEIVE_BUFFER_CONFIG |
"receive.buffer.bytes" |
public static final String |
RECONNECT_BACKOFF_MS_CONFIG |
"reconnect.backoff.ms" |
public static final String |
REQUEST_TIMEOUT_MS_CONFIG |
"request.timeout.ms" |
public static final String |
RETRIES_CONFIG |
"retries" |
public static final String |
RETRY_BACKOFF_MS_CONFIG |
"retry.backoff.ms" |
public static final String |
SEND_BUFFER_CONFIG |
"send.buffer.bytes" |
public static final String |
TIMEOUT_CONFIG |
"timeout.ms" |
public static final String |
VALUE_SERIALIZER_CLASS_CONFIG |
"value.serializer" |
public static final String |
VALUE_SERIALIZER_CLASS_DOC |
"Serializer class for value that implements the <code>Serializer</code> interface." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final int |
UNKNOWN_PARTITION |
-1 |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_KERBEROS_KINIT_CMD |
"/usr/bin/kinit" |
public static final long |
DEFAULT_KERBEROS_MIN_TIME_BEFORE_RELOGIN |
60000L |
public static final double |
DEFAULT_KERBEROS_TICKET_RENEW_JITTER |
0.05 |
public static final double |
DEFAULT_KERBEROS_TICKET_RENEW_WINDOW_FACTOR |
0.8 |
public static final String |
DEFAULT_SASL_MECHANISM |
"GSSAPI" |
public static final String |
GSSAPI_MECHANISM |
"GSSAPI" |
public static final String |
SASL_ENABLED_MECHANISMS |
"sasl.enabled.mechanisms" |
public static final String |
SASL_ENABLED_MECHANISMS_DOC |
"The list of SASL mechanisms enabled in the Kafka server. The list may contain any mechanism for which a security provider is available. Only GSSAPI is enabled by default." |
public static final String |
SASL_JAAS_CONFIG |
"sasl.jaas.config" |
public static final String |
SASL_JAAS_CONFIG_DOC |
"JAAS login context parameters for SASL connections in the format used by JAAS configuration files. JAAS configuration file format is described <a href=\"http://docs.oracle.com/javase/8/docs/technotes/guides/security/jgss/tutorials/LoginConfigFile.html\">here</a>. The format for the value is: \'<loginModuleClass> <controlFlag> (<optionName>=<optionValue>)*;\'" |
public static final String |
SASL_KERBEROS_KINIT_CMD |
"sasl.kerberos.kinit.cmd" |
public static final String |
SASL_KERBEROS_KINIT_CMD_DOC |
"Kerberos kinit command path." |
public static final String |
SASL_KERBEROS_MIN_TIME_BEFORE_RELOGIN |
"sasl.kerberos.min.time.before.relogin" |
public static final String |
SASL_KERBEROS_MIN_TIME_BEFORE_RELOGIN_DOC |
"Login thread sleep time between refresh attempts." |
public static final String |
SASL_KERBEROS_PRINCIPAL_TO_LOCAL_RULES |
"sasl.kerberos.principal.to.local.rules" |
public static final String |
SASL_KERBEROS_PRINCIPAL_TO_LOCAL_RULES_DOC |
"A list of rules for mapping from principal names to short names (typically operating system usernames). The rules are evaluated in order and the first rule that matches a principal name is used to map it to a short name. Any later rules in the list are ignored. By default, principal names of the form {username}/{hostname}@{REALM} are mapped to {username}. For more details on the format please see <a href=\"#security_authz\"> security authorization and acls</a>." |
public static final String |
SASL_KERBEROS_SERVICE_NAME |
"sasl.kerberos.service.name" |
public static final String |
SASL_KERBEROS_SERVICE_NAME_DOC |
"The Kerberos principal name that Kafka runs as. This can be defined either in Kafka\'s JAAS config or in Kafka\'s config." |
public static final String |
SASL_KERBEROS_TICKET_RENEW_JITTER |
"sasl.kerberos.ticket.renew.jitter" |
public static final String |
SASL_KERBEROS_TICKET_RENEW_JITTER_DOC |
"Percentage of random jitter added to the renewal time." |
public static final String |
SASL_KERBEROS_TICKET_RENEW_WINDOW_FACTOR |
"sasl.kerberos.ticket.renew.window.factor" |
public static final String |
SASL_KERBEROS_TICKET_RENEW_WINDOW_FACTOR_DOC |
"Login thread will sleep until the specified window factor of time from last refresh to ticket\'s expiry has been reached, at which time it will try to renew the ticket." |
public static final String |
SASL_MECHANISM |
"sasl.mechanism" |
public static final String |
SASL_MECHANISM_DOC |
"SASL mechanism used for client connections. This may be any mechanism for which a security provider is available. GSSAPI is the default mechanism." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_PRINCIPAL_BUILDER_CLASS |
"org.apache.kafka.common.security.auth.DefaultPrincipalBuilder" |
public static final String |
DEFAULT_SSL_ENABLED_PROTOCOLS |
"TLSv1.2,TLSv1.1,TLSv1" |
public static final String |
DEFAULT_SSL_KEYSTORE_TYPE |
"JKS" |
public static final String |
DEFAULT_SSL_PROTOCOL |
"TLS" |
public static final String |
DEFAULT_SSL_TRUSTSTORE_TYPE |
"JKS" |
public static final String |
PRINCIPAL_BUILDER_CLASS_CONFIG |
"principal.builder.class" |
public static final String |
PRINCIPAL_BUILDER_CLASS_DOC |
"The fully qualified name of a class that implements the PrincipalBuilder interface, which is currently used to build the Principal for connections with the SSL SecurityProtocol." |
public static final String |
SSL_CIPHER_SUITES_CONFIG |
"ssl.cipher.suites" |
public static final String |
SSL_CIPHER_SUITES_DOC |
"A list of cipher suites. This is a named combination of authentication, encryption, MAC and key exchange algorithm used to negotiate the security settings for a network connection using TLS or SSL network protocol. By default all the available cipher suites are supported." |
public static final String |
SSL_CLIENT_AUTH_CONFIG |
"ssl.client.auth" |
public static final String |
SSL_CLIENT_AUTH_DOC |
"Configures kafka broker to request client authentication. The following settings are common: <ul> <li><code>ssl.client.auth=required</code> If set to required client authentication is required. <li><code>ssl.client.auth=requested</code> This means client authentication is optional. unlike requested , if this option is set client can choose not to provide authentication information about itself <li><code>ssl.client.auth=none</code> This means client authentication is not needed." |
public static final String |
SSL_ENABLED_PROTOCOLS_CONFIG |
"ssl.enabled.protocols" |
public static final String |
SSL_ENABLED_PROTOCOLS_DOC |
"The list of protocols enabled for SSL connections." |
public static final String |
SSL_ENDPOINT_IDENTIFICATION_ALGORITHM_CONFIG |
"ssl.endpoint.identification.algorithm" |
public static final String |
SSL_ENDPOINT_IDENTIFICATION_ALGORITHM_DOC |
"The endpoint identification algorithm to validate server hostname using server certificate. " |
public static final String |
SSL_KEY_PASSWORD_CONFIG |
"ssl.key.password" |
public static final String |
SSL_KEY_PASSWORD_DOC |
"The password of the private key in the key store file. This is optional for client." |
public static final String |
SSL_KEYMANAGER_ALGORITHM_CONFIG |
"ssl.keymanager.algorithm" |
public static final String |
SSL_KEYMANAGER_ALGORITHM_DOC |
"The algorithm used by key manager factory for SSL connections. Default value is the key manager factory algorithm configured for the Java Virtual Machine." |
public static final String |
SSL_KEYSTORE_LOCATION_CONFIG |
"ssl.keystore.location" |
public static final String |
SSL_KEYSTORE_LOCATION_DOC |
"The location of the key store file. This is optional for client and can be used for two-way authentication for client." |
public static final String |
SSL_KEYSTORE_PASSWORD_CONFIG |
"ssl.keystore.password" |
public static final String |
SSL_KEYSTORE_PASSWORD_DOC |
"The store password for the key store file. This is optional for client and only needed if ssl.keystore.location is configured. " |
public static final String |
SSL_KEYSTORE_TYPE_CONFIG |
"ssl.keystore.type" |
public static final String |
SSL_KEYSTORE_TYPE_DOC |
"The file format of the key store file. This is optional for client." |
public static final String |
SSL_PROTOCOL_CONFIG |
"ssl.protocol" |
public static final String |
SSL_PROTOCOL_DOC |
"The SSL protocol used to generate the SSLContext. Default setting is TLS, which is fine for most cases. Allowed values in recent JVMs are TLS, TLSv1.1 and TLSv1.2. SSL, SSLv2 and SSLv3 may be supported in older JVMs, but their usage is discouraged due to known security vulnerabilities." |
public static final String |
SSL_PROVIDER_CONFIG |
"ssl.provider" |
public static final String |
SSL_PROVIDER_DOC |
"The name of the security provider used for SSL connections. Default value is the default security provider of the JVM." |
public static final String |
SSL_SECURE_RANDOM_IMPLEMENTATION_CONFIG |
"ssl.secure.random.implementation" |
public static final String |
SSL_SECURE_RANDOM_IMPLEMENTATION_DOC |
"The SecureRandom PRNG implementation to use for SSL cryptography operations. " |
public static final String |
SSL_TRUSTMANAGER_ALGORITHM_CONFIG |
"ssl.trustmanager.algorithm" |
public static final String |
SSL_TRUSTMANAGER_ALGORITHM_DOC |
"The algorithm used by trust manager factory for SSL connections. Default value is the trust manager factory algorithm configured for the Java Virtual Machine." |
public static final String |
SSL_TRUSTSTORE_LOCATION_CONFIG |
"ssl.truststore.location" |
public static final String |
SSL_TRUSTSTORE_LOCATION_DOC |
"The location of the trust store file. " |
public static final String |
SSL_TRUSTSTORE_PASSWORD_CONFIG |
"ssl.truststore.password" |
public static final String |
SSL_TRUSTSTORE_PASSWORD_DOC |
"The password for the trust store file. " |
public static final String |
SSL_TRUSTSTORE_TYPE_CONFIG |
"ssl.truststore.type" |
public static final String |
SSL_TRUSTSTORE_TYPE_DOC |
"The file format of the trust store file." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
LOGICAL_NAME |
"org.apache.kafka.connect.data.Date" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
LOGICAL_NAME |
"org.apache.kafka.connect.data.Decimal" |
public static final String |
SCALE_FIELD |
"scale" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
LOGICAL_NAME |
"org.apache.kafka.connect.data.Time" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
LOGICAL_NAME |
"org.apache.kafka.connect.data.Timestamp" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
TOPICS_CONFIG |
"topics" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
TOPICS_CONFIG |
"topics" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
APPLICATION_ID_CONFIG |
"application.id" |
public static final String |
APPLICATION_SERVER_CONFIG |
"application.server" |
public static final String |
BOOTSTRAP_SERVERS_CONFIG |
"bootstrap.servers" |
public static final String |
BUFFERED_RECORDS_PER_PARTITION_CONFIG |
"buffered.records.per.partition" |
public static final String |
CACHE_MAX_BYTES_BUFFERING_CONFIG |
"cache.max.bytes.buffering" |
public static final String |
CLIENT_ID_CONFIG |
"client.id" |
public static final String |
COMMIT_INTERVAL_MS_CONFIG |
"commit.interval.ms" |
public static final String |
CONNECTIONS_MAX_IDLE_MS_CONFIG |
"connections.max.idle.ms" |
public static final String |
CONSUMER_PREFIX |
"consumer." |
public static final String |
DEFAULT_SECURITY_PROTOCOL |
"PLAINTEXT" |
public static final String |
KEY_SERDE_CLASS_CONFIG |
"key.serde" |
public static final String |
METADATA_MAX_AGE_CONFIG |
"metadata.max.age.ms" |
public static final String |
METRIC_REPORTER_CLASSES_CONFIG |
"metric.reporters" |
public static final String |
METRICS_NUM_SAMPLES_CONFIG |
"metrics.num.samples" |
public static final String |
METRICS_RECORDING_LEVEL_CONFIG |
"metrics.recording.level" |
public static final String |
METRICS_SAMPLE_WINDOW_MS_CONFIG |
"metrics.sample.window.ms" |
public static final String |
NUM_STANDBY_REPLICAS_CONFIG |
"num.standby.replicas" |
public static final String |
NUM_STREAM_THREADS_CONFIG |
"num.stream.threads" |
public static final String |
PARTITION_GROUPER_CLASS_CONFIG |
"partition.grouper" |
public static final String |
POLL_MS_CONFIG |
"poll.ms" |
public static final String |
PRODUCER_PREFIX |
"producer." |
public static final String |
RECEIVE_BUFFER_CONFIG |
"receive.buffer.bytes" |
public static final String |
RECONNECT_BACKOFF_MS_CONFIG |
"reconnect.backoff.ms" |
public static final String |
REPLICATION_FACTOR_CONFIG |
"replication.factor" |
public static final String |
REQUEST_TIMEOUT_MS_CONFIG |
"request.timeout.ms" |
public static final String |
RETRY_BACKOFF_MS_CONFIG |
"retry.backoff.ms" |
public static final String |
ROCKSDB_CONFIG_SETTER_CLASS_CONFIG |
"rocksdb.config.setter" |
public static final String |
SECURITY_PROTOCOL_CONFIG |
"security.protocol" |
public static final String |
SEND_BUFFER_CONFIG |
"send.buffer.bytes" |
public static final String |
STATE_CLEANUP_DELAY_MS_CONFIG |
"state.cleanup.delay.ms" |
public static final String |
STATE_DIR_CONFIG |
"state.dir" |
public static final String |
TIMESTAMP_EXTRACTOR_CLASS_CONFIG |
"timestamp.extractor" |
public static final String |
VALUE_SERDE_CLASS_CONFIG |
"value.serde" |
public static final String |
WINDOW_STORE_CHANGE_LOG_ADDITIONAL_RETENTION_MS_CONFIG |
"windowstore.changelog.additional.retention.ms" |
public static final String |
ZOOKEEPER_CONNECT_CONFIG |
"zookeeper.connect" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
STREAM_THREAD_INSTANCE |
"__stream.thread.instance__" |