Package org.apache.kafka.common.config
Class TopicConfig
- java.lang.Object
- 
- org.apache.kafka.common.config.TopicConfig
 
- 
 public class TopicConfig extends 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 setlog.cleanup.policyinstead ofcleanup.policy. Unfortunately, there are many cases where this pattern is not followed.
- 
- 
Field Summary
 - 
Constructor SummaryConstructors Constructor Description TopicConfig()
 
- 
- 
- 
Field Detail- 
SEGMENT_BYTES_CONFIGpublic static final String SEGMENT_BYTES_CONFIG - See Also:
- Constant Field Values
 
 - 
SEGMENT_BYTES_DOCpublic static final String SEGMENT_BYTES_DOC - See Also:
- Constant Field Values
 
 - 
SEGMENT_MS_CONFIGpublic static final String SEGMENT_MS_CONFIG - See Also:
- Constant Field Values
 
 - 
SEGMENT_MS_DOCpublic static final String SEGMENT_MS_DOC - See Also:
- Constant Field Values
 
 - 
SEGMENT_JITTER_MS_CONFIGpublic static final String SEGMENT_JITTER_MS_CONFIG - See Also:
- Constant Field Values
 
 - 
SEGMENT_JITTER_MS_DOCpublic static final String SEGMENT_JITTER_MS_DOC - See Also:
- Constant Field Values
 
 - 
SEGMENT_INDEX_BYTES_CONFIGpublic static final String SEGMENT_INDEX_BYTES_CONFIG - See Also:
- Constant Field Values
 
 - 
SEGMENT_INDEX_BYTES_DOCpublic static final String SEGMENT_INDEX_BYTES_DOC - See Also:
- Constant Field Values
 
 - 
FLUSH_MESSAGES_INTERVAL_CONFIGpublic static final String FLUSH_MESSAGES_INTERVAL_CONFIG - See Also:
- Constant Field Values
 
 - 
FLUSH_MESSAGES_INTERVAL_DOCpublic static final String FLUSH_MESSAGES_INTERVAL_DOC - See Also:
- Constant Field Values
 
 - 
FLUSH_MS_CONFIGpublic static final String FLUSH_MS_CONFIG - See Also:
- Constant Field Values
 
 - 
FLUSH_MS_DOCpublic static final String FLUSH_MS_DOC - See Also:
- Constant Field Values
 
 - 
RETENTION_BYTES_CONFIGpublic static final String RETENTION_BYTES_CONFIG - See Also:
- Constant Field Values
 
 - 
RETENTION_BYTES_DOCpublic static final String RETENTION_BYTES_DOC - See Also:
- Constant Field Values
 
 - 
RETENTION_MS_CONFIGpublic static final String RETENTION_MS_CONFIG - See Also:
- Constant Field Values
 
 - 
RETENTION_MS_DOCpublic static final String RETENTION_MS_DOC - See Also:
- Constant Field Values
 
 - 
MAX_MESSAGE_BYTES_CONFIGpublic static final String MAX_MESSAGE_BYTES_CONFIG - See Also:
- Constant Field Values
 
 - 
MAX_MESSAGE_BYTES_DOCpublic static final String MAX_MESSAGE_BYTES_DOC - See Also:
- Constant Field Values
 
 - 
INDEX_INTERVAL_BYTES_CONFIGpublic static final String INDEX_INTERVAL_BYTES_CONFIG - See Also:
- Constant Field Values
 
 - 
INDEX_INTERVAL_BYTES_DOCSpublic static final String INDEX_INTERVAL_BYTES_DOCS - See Also:
- Constant Field Values
 
 - 
FILE_DELETE_DELAY_MS_CONFIGpublic static final String FILE_DELETE_DELAY_MS_CONFIG - See Also:
- Constant Field Values
 
 - 
FILE_DELETE_DELAY_MS_DOCpublic static final String FILE_DELETE_DELAY_MS_DOC - See Also:
- Constant Field Values
 
 - 
DELETE_RETENTION_MS_CONFIGpublic static final String DELETE_RETENTION_MS_CONFIG - See Also:
- Constant Field Values
 
 - 
DELETE_RETENTION_MS_DOCpublic static final String DELETE_RETENTION_MS_DOC - See Also:
- Constant Field Values
 
 - 
MIN_COMPACTION_LAG_MS_CONFIGpublic static final String MIN_COMPACTION_LAG_MS_CONFIG - See Also:
- Constant Field Values
 
 - 
MIN_COMPACTION_LAG_MS_DOCpublic static final String MIN_COMPACTION_LAG_MS_DOC - See Also:
- Constant Field Values
 
 - 
MAX_COMPACTION_LAG_MS_CONFIGpublic static final String MAX_COMPACTION_LAG_MS_CONFIG - See Also:
- Constant Field Values
 
 - 
MAX_COMPACTION_LAG_MS_DOCpublic static final String MAX_COMPACTION_LAG_MS_DOC - See Also:
- Constant Field Values
 
 - 
MIN_CLEANABLE_DIRTY_RATIO_CONFIGpublic static final String MIN_CLEANABLE_DIRTY_RATIO_CONFIG - See Also:
- Constant Field Values
 
 - 
MIN_CLEANABLE_DIRTY_RATIO_DOCpublic static final String MIN_CLEANABLE_DIRTY_RATIO_DOC - See Also:
- Constant Field Values
 
 - 
CLEANUP_POLICY_CONFIGpublic static final String CLEANUP_POLICY_CONFIG - See Also:
- Constant Field Values
 
 - 
CLEANUP_POLICY_COMPACTpublic static final String CLEANUP_POLICY_COMPACT - See Also:
- Constant Field Values
 
 - 
CLEANUP_POLICY_DELETEpublic static final String CLEANUP_POLICY_DELETE - See Also:
- Constant Field Values
 
 - 
CLEANUP_POLICY_DOCpublic static final String CLEANUP_POLICY_DOC - See Also:
- Constant Field Values
 
 - 
UNCLEAN_LEADER_ELECTION_ENABLE_CONFIGpublic static final String UNCLEAN_LEADER_ELECTION_ENABLE_CONFIG - See Also:
- Constant Field Values
 
 - 
UNCLEAN_LEADER_ELECTION_ENABLE_DOCpublic static final String UNCLEAN_LEADER_ELECTION_ENABLE_DOC - See Also:
- Constant Field Values
 
 - 
MIN_IN_SYNC_REPLICAS_CONFIGpublic static final String MIN_IN_SYNC_REPLICAS_CONFIG - See Also:
- Constant Field Values
 
 - 
MIN_IN_SYNC_REPLICAS_DOCpublic static final String MIN_IN_SYNC_REPLICAS_DOC - See Also:
- Constant Field Values
 
 - 
COMPRESSION_TYPE_CONFIGpublic static final String COMPRESSION_TYPE_CONFIG - See Also:
- Constant Field Values
 
 - 
COMPRESSION_TYPE_DOCpublic static final String COMPRESSION_TYPE_DOC - See Also:
- Constant Field Values
 
 - 
PREALLOCATE_CONFIGpublic static final String PREALLOCATE_CONFIG - See Also:
- Constant Field Values
 
 - 
PREALLOCATE_DOCpublic static final String PREALLOCATE_DOC - See Also:
- Constant Field Values
 
 - 
MESSAGE_FORMAT_VERSION_CONFIGpublic static final String MESSAGE_FORMAT_VERSION_CONFIG - See Also:
- Constant Field Values
 
 - 
MESSAGE_FORMAT_VERSION_DOCpublic static final String MESSAGE_FORMAT_VERSION_DOC - See Also:
- Constant Field Values
 
 - 
MESSAGE_TIMESTAMP_TYPE_CONFIGpublic static final String MESSAGE_TIMESTAMP_TYPE_CONFIG - See Also:
- Constant Field Values
 
 - 
MESSAGE_TIMESTAMP_TYPE_DOCpublic static final String MESSAGE_TIMESTAMP_TYPE_DOC - See Also:
- Constant Field Values
 
 - 
MESSAGE_TIMESTAMP_DIFFERENCE_MAX_MS_CONFIGpublic static final String MESSAGE_TIMESTAMP_DIFFERENCE_MAX_MS_CONFIG - See Also:
- Constant Field Values
 
 - 
MESSAGE_TIMESTAMP_DIFFERENCE_MAX_MS_DOCpublic static final String MESSAGE_TIMESTAMP_DIFFERENCE_MAX_MS_DOC - See Also:
- Constant Field Values
 
 - 
MESSAGE_DOWNCONVERSION_ENABLE_CONFIGpublic static final String MESSAGE_DOWNCONVERSION_ENABLE_CONFIG - See Also:
- Constant Field Values
 
 - 
MESSAGE_DOWNCONVERSION_ENABLE_DOCpublic static final String MESSAGE_DOWNCONVERSION_ENABLE_DOC - See Also:
- Constant Field Values
 
 
- 
 
-