Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5693

TopicCreationPolicy and AlterConfigsPolicy overlap

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      The administrator of a cluster can configure a CreateTopicPolicy, which has access to the topic configs as well as other metadata to make its decision about whether a topic creation is allowed. Thus in theory the decision could be based on a combination of of the replication factor, and the topic configs, for example.

      Separately there is an AlterConfigPolicy, which only has access to the configs (and can apply to configurable entities other than just topics).

      There are potential issues with this. For example although the CreateTopicPolicy is checked at creation time, it's not checked for any later alterations to the topic config. So policies which depend on both the topic configs and other topic metadata could be worked around by changing the configs after creation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tombentley Tom Bentley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: