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_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_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_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_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_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_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_ID_DOC |
"An identifier for the stream processing application. Must be unique within the Kafka cluster. It is used as 1) the default client-id prefix, 2) the group-id for membership management, 3) the changelog topic prefix." |
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 |
CLIENT_ID_CONFIG |
"client.id" |
public static final String |
COMMIT_INTERVAL_MS_CONFIG |
"commit.interval.ms" |
public static final String |
KEY_SERDE_CLASS_CONFIG |
"key.serde" |
public static final String |
KEY_SERDE_CLASS_DOC |
"Serializer / deserializer class for key that implements the <code>Serde</code> interface." |
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 |
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 |
REPLICATION_FACTOR_CONFIG |
"replication.factor" |
public static final String |
REPLICATION_FACTOR_DOC |
"The replication factor for change log topics and repartition topics created by the stream processing application." |
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 |
VALUE_SERDE_CLASS_DOC |
"Serializer / deserializer class for value that implements the <code>Serde</code> interface." |
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__" |