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

Topic existence checks in topic commands (create, alter, delete)

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0.0
    • Component/s: None
    • Labels:
      None

      Description

      In Kafka 0.9.0 error codes were added to the topic commands. However, often users only want to perform an action based on the existence of a topic. And they don't want to error if the topic does or does not exist.

      Adding if-exists option for the topic delete and alter commands and if-not-exists for the create command allows users to build scripts that can handle this expected state without error codes.

        Attachments

          Activity

            People

            • Assignee:
              granthenke Grant Henke
              Reporter:
              granthenke Grant Henke
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: