Class TopicConfig
java.lang.Object
org.apache.kafka.common.config.TopicConfig
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.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringDeprecated.since 3.6, removal planned in 4.0.static final StringDeprecated.since 3.6, removal planned in 4.0.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
SEGMENT_BYTES_CONFIG
- See Also:
 
 - 
SEGMENT_BYTES_DOC
- See Also:
 
 - 
SEGMENT_MS_CONFIG
- See Also:
 
 - 
SEGMENT_MS_DOC
- See Also:
 
 - 
SEGMENT_JITTER_MS_CONFIG
- See Also:
 
 - 
SEGMENT_JITTER_MS_DOC
- See Also:
 
 - 
SEGMENT_INDEX_BYTES_CONFIG
- See Also:
 
 - 
SEGMENT_INDEX_BYTES_DOC
- See Also:
 
 - 
FLUSH_MESSAGES_INTERVAL_CONFIG
- See Also:
 
 - 
FLUSH_MESSAGES_INTERVAL_DOC
- See Also:
 
 - 
FLUSH_MS_CONFIG
- See Also:
 
 - 
FLUSH_MS_DOC
- See Also:
 
 - 
RETENTION_BYTES_CONFIG
- See Also:
 
 - 
RETENTION_BYTES_DOC
- See Also:
 
 - 
RETENTION_MS_CONFIG
- See Also:
 
 - 
RETENTION_MS_DOC
- See Also:
 
 - 
REMOTE_LOG_STORAGE_ENABLE_CONFIG
- See Also:
 
 - 
REMOTE_LOG_STORAGE_ENABLE_DOC
- See Also:
 
 - 
LOCAL_LOG_RETENTION_MS_CONFIG
- See Also:
 
 - 
LOCAL_LOG_RETENTION_MS_DOC
- See Also:
 
 - 
LOCAL_LOG_RETENTION_BYTES_CONFIG
- See Also:
 
 - 
LOCAL_LOG_RETENTION_BYTES_DOC
- See Also:
 
 - 
REMOTE_LOG_COPY_DISABLE_CONFIG
- See Also:
 
 - 
REMOTE_LOG_COPY_DISABLE_DOC
- See Also:
 
 - 
REMOTE_LOG_DELETE_ON_DISABLE_CONFIG
- See Also:
 
 - 
REMOTE_LOG_DELETE_ON_DISABLE_DOC
- See Also:
 
 - 
MAX_MESSAGE_BYTES_CONFIG
- See Also:
 
 - 
MAX_MESSAGE_BYTES_DOC
- See Also:
 
 - 
INDEX_INTERVAL_BYTES_CONFIG
- See Also:
 
 - 
INDEX_INTERVAL_BYTES_DOC
- See Also:
 
 - 
FILE_DELETE_DELAY_MS_CONFIG
- See Also:
 
 - 
FILE_DELETE_DELAY_MS_DOC
- See Also:
 
 - 
DELETE_RETENTION_MS_CONFIG
- See Also:
 
 - 
DELETE_RETENTION_MS_DOC
- See Also:
 
 - 
MIN_COMPACTION_LAG_MS_CONFIG
- See Also:
 
 - 
MIN_COMPACTION_LAG_MS_DOC
- See Also:
 
 - 
MAX_COMPACTION_LAG_MS_CONFIG
- See Also:
 
 - 
MAX_COMPACTION_LAG_MS_DOC
- See Also:
 
 - 
MIN_CLEANABLE_DIRTY_RATIO_CONFIG
- See Also:
 
 - 
MIN_CLEANABLE_DIRTY_RATIO_DOC
- See Also:
 
 - 
CLEANUP_POLICY_CONFIG
- See Also:
 
 - 
CLEANUP_POLICY_COMPACT
- See Also:
 
 - 
CLEANUP_POLICY_DELETE
- See Also:
 
 - 
CLEANUP_POLICY_DOC
- See Also:
 
 - 
UNCLEAN_LEADER_ELECTION_ENABLE_CONFIG
- See Also:
 
 - 
UNCLEAN_LEADER_ELECTION_ENABLE_DOC
- See Also:
 
 - 
MIN_IN_SYNC_REPLICAS_CONFIG
- See Also:
 
 - 
MIN_IN_SYNC_REPLICAS_DOC
- See Also:
 
 - 
COMPRESSION_TYPE_CONFIG
- See Also:
 
 - 
COMPRESSION_TYPE_DOC
- See Also:
 
 - 
COMPRESSION_GZIP_LEVEL_CONFIG
- See Also:
 
 - 
COMPRESSION_GZIP_LEVEL_DOC
- See Also:
 
 - 
COMPRESSION_LZ4_LEVEL_CONFIG
- See Also:
 
 - 
COMPRESSION_LZ4_LEVEL_DOC
- See Also:
 
 - 
COMPRESSION_ZSTD_LEVEL_CONFIG
- See Also:
 
 - 
COMPRESSION_ZSTD_LEVEL_DOC
- See Also:
 
 - 
PREALLOCATE_CONFIG
- See Also:
 
 - 
PREALLOCATE_DOC
- See Also:
 
 - 
MESSAGE_TIMESTAMP_TYPE_CONFIG
- See Also:
 
 - 
MESSAGE_TIMESTAMP_TYPE_DOC
- See Also:
 
 - 
MESSAGE_TIMESTAMP_DIFFERENCE_MAX_MS_CONFIG
Deprecated.since 3.6, removal planned in 4.0. Use message.timestamp.before.max.ms and message.timestamp.after.max.ms instead- See Also:
 
 - 
MESSAGE_TIMESTAMP_DIFFERENCE_MAX_MS_DOC
Deprecated.since 3.6, removal planned in 4.0. Use message.timestamp.before.max.ms and message.timestamp.after.max.ms instead- See Also:
 
 - 
MESSAGE_TIMESTAMP_BEFORE_MAX_MS_CONFIG
- See Also:
 
 - 
MESSAGE_TIMESTAMP_BEFORE_MAX_MS_DOC
- See Also:
 
 - 
MESSAGE_TIMESTAMP_AFTER_MAX_MS_CONFIG
- See Also:
 
 - 
MESSAGE_TIMESTAMP_AFTER_MAX_MS_DOC
- See Also:
 
 - 
MESSAGE_DOWNCONVERSION_ENABLE_CONFIG
- See Also:
 
 - 
MESSAGE_DOWNCONVERSION_ENABLE_DOC
- See Also:
 
 
 - 
 - 
Constructor Details
- 
TopicConfig
public TopicConfig() 
 -