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 set log.cleanup.policy instead of cleanup.policy. Unfortunately, there are many cases where this pattern is not followed.