public class TopicConfig
extends java.lang.Object
Keys that can be used to configure a topic. These keys are useful when creating or reconfiguring a topic using the AdminClient.
The intended pattern is for broker configs to include a `log.`
prefix. For example, to set the default broker
cleanup policy, one would set log.cleanup.policy
instead of cleanup.policy
. Unfortunately, there are many cases
where this pattern is not followed.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLEANUP_POLICY_COMPACT |
static java.lang.String |
CLEANUP_POLICY_CONFIG |
static java.lang.String |
CLEANUP_POLICY_DELETE |
static java.lang.String |
CLEANUP_POLICY_DOC |
static java.lang.String |
COMPRESSION_TYPE_CONFIG |
static java.lang.String |
COMPRESSION_TYPE_DOC |
static java.lang.String |
DELETE_RETENTION_MS_CONFIG |
static java.lang.String |
DELETE_RETENTION_MS_DOC |
static java.lang.String |
FILE_DELETE_DELAY_MS_CONFIG |
static java.lang.String |
FILE_DELETE_DELAY_MS_DOC |
static java.lang.String |
FLUSH_MESSAGES_INTERVAL_CONFIG |
static java.lang.String |
FLUSH_MESSAGES_INTERVAL_DOC |
static java.lang.String |
FLUSH_MS_CONFIG |
static java.lang.String |
FLUSH_MS_DOC |
static java.lang.String |
INDEX_INTERVAL_BYTES_CONFIG |
static java.lang.String |
INDEX_INTERVAL_BYTES_DOCS |
static java.lang.String |
MAX_COMPACTION_LAG_MS_CONFIG |
static java.lang.String |
MAX_COMPACTION_LAG_MS_DOC |
static java.lang.String |
MAX_MESSAGE_BYTES_CONFIG |
static java.lang.String |
MAX_MESSAGE_BYTES_DOC |
static java.lang.String |
MESSAGE_DOWNCONVERSION_ENABLE_CONFIG |
static java.lang.String |
MESSAGE_DOWNCONVERSION_ENABLE_DOC |
static java.lang.String |
MESSAGE_FORMAT_VERSION_CONFIG |
static java.lang.String |
MESSAGE_FORMAT_VERSION_DOC |
static java.lang.String |
MESSAGE_TIMESTAMP_DIFFERENCE_MAX_MS_CONFIG |
static java.lang.String |
MESSAGE_TIMESTAMP_DIFFERENCE_MAX_MS_DOC |
static java.lang.String |
MESSAGE_TIMESTAMP_TYPE_CONFIG |
static java.lang.String |
MESSAGE_TIMESTAMP_TYPE_DOC |
static java.lang.String |
MIN_CLEANABLE_DIRTY_RATIO_CONFIG |
static java.lang.String |
MIN_CLEANABLE_DIRTY_RATIO_DOC |
static java.lang.String |
MIN_COMPACTION_LAG_MS_CONFIG |
static java.lang.String |
MIN_COMPACTION_LAG_MS_DOC |
static java.lang.String |
MIN_IN_SYNC_REPLICAS_CONFIG |
static java.lang.String |
MIN_IN_SYNC_REPLICAS_DOC |
static java.lang.String |
PREALLOCATE_CONFIG |
static java.lang.String |
PREALLOCATE_DOC |
static java.lang.String |
RETENTION_BYTES_CONFIG |
static java.lang.String |
RETENTION_BYTES_DOC |
static java.lang.String |
RETENTION_MS_CONFIG |
static java.lang.String |
RETENTION_MS_DOC |
static java.lang.String |
SEGMENT_BYTES_CONFIG |
static java.lang.String |
SEGMENT_BYTES_DOC |
static java.lang.String |
SEGMENT_INDEX_BYTES_CONFIG |
static java.lang.String |
SEGMENT_INDEX_BYTES_DOC |
static java.lang.String |
SEGMENT_JITTER_MS_CONFIG |
static java.lang.String |
SEGMENT_JITTER_MS_DOC |
static java.lang.String |
SEGMENT_MS_CONFIG |
static java.lang.String |
SEGMENT_MS_DOC |
static java.lang.String |
UNCLEAN_LEADER_ELECTION_ENABLE_CONFIG |
static java.lang.String |
UNCLEAN_LEADER_ELECTION_ENABLE_DOC |
Constructor and Description |
---|
TopicConfig() |
public static final java.lang.String SEGMENT_BYTES_CONFIG
public static final java.lang.String SEGMENT_BYTES_DOC
public static final java.lang.String SEGMENT_MS_CONFIG
public static final java.lang.String SEGMENT_MS_DOC
public static final java.lang.String SEGMENT_JITTER_MS_CONFIG
public static final java.lang.String SEGMENT_JITTER_MS_DOC
public static final java.lang.String SEGMENT_INDEX_BYTES_CONFIG
public static final java.lang.String SEGMENT_INDEX_BYTES_DOC
public static final java.lang.String FLUSH_MESSAGES_INTERVAL_CONFIG
public static final java.lang.String FLUSH_MESSAGES_INTERVAL_DOC
public static final java.lang.String FLUSH_MS_CONFIG
public static final java.lang.String FLUSH_MS_DOC
public static final java.lang.String RETENTION_BYTES_CONFIG
public static final java.lang.String RETENTION_BYTES_DOC
public static final java.lang.String RETENTION_MS_CONFIG
public static final java.lang.String RETENTION_MS_DOC
public static final java.lang.String MAX_MESSAGE_BYTES_CONFIG
public static final java.lang.String MAX_MESSAGE_BYTES_DOC
public static final java.lang.String INDEX_INTERVAL_BYTES_CONFIG
public static final java.lang.String INDEX_INTERVAL_BYTES_DOCS
public static final java.lang.String FILE_DELETE_DELAY_MS_CONFIG
public static final java.lang.String FILE_DELETE_DELAY_MS_DOC
public static final java.lang.String DELETE_RETENTION_MS_CONFIG
public static final java.lang.String DELETE_RETENTION_MS_DOC
public static final java.lang.String MIN_COMPACTION_LAG_MS_CONFIG
public static final java.lang.String MIN_COMPACTION_LAG_MS_DOC
public static final java.lang.String MAX_COMPACTION_LAG_MS_CONFIG
public static final java.lang.String MAX_COMPACTION_LAG_MS_DOC
public static final java.lang.String MIN_CLEANABLE_DIRTY_RATIO_CONFIG
public static final java.lang.String MIN_CLEANABLE_DIRTY_RATIO_DOC
public static final java.lang.String CLEANUP_POLICY_CONFIG
public static final java.lang.String CLEANUP_POLICY_COMPACT
public static final java.lang.String CLEANUP_POLICY_DELETE
public static final java.lang.String CLEANUP_POLICY_DOC
public static final java.lang.String UNCLEAN_LEADER_ELECTION_ENABLE_CONFIG
public static final java.lang.String UNCLEAN_LEADER_ELECTION_ENABLE_DOC
public static final java.lang.String MIN_IN_SYNC_REPLICAS_CONFIG
public static final java.lang.String MIN_IN_SYNC_REPLICAS_DOC
public static final java.lang.String COMPRESSION_TYPE_CONFIG
public static final java.lang.String COMPRESSION_TYPE_DOC
public static final java.lang.String PREALLOCATE_CONFIG
public static final java.lang.String PREALLOCATE_DOC
public static final java.lang.String MESSAGE_FORMAT_VERSION_CONFIG
public static final java.lang.String MESSAGE_FORMAT_VERSION_DOC
public static final java.lang.String MESSAGE_TIMESTAMP_TYPE_CONFIG
public static final java.lang.String MESSAGE_TIMESTAMP_TYPE_DOC
public static final java.lang.String MESSAGE_TIMESTAMP_DIFFERENCE_MAX_MS_CONFIG
public static final java.lang.String MESSAGE_TIMESTAMP_DIFFERENCE_MAX_MS_DOC
public static final java.lang.String MESSAGE_DOWNCONVERSION_ENABLE_CONFIG
public static final java.lang.String MESSAGE_DOWNCONVERSION_ENABLE_DOC