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

Correctly Handle InvalidTopicException in KafkaApis.getTopicMetadata()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.2.1
    • 0.9.0.0
    • None
    • None

    Description

      It seems that in KafkaApis.getTopicMetadata(), we need to handle InvalidTopicException explicitly when calling AdminUtils.createTopic (by returning the corresponding error code for that topic). Otherwise, we may not be able to get the metadata for other valid topics. This seems to be an existing problem, but KAFKA-2337 makes InvalidTopicException more likely to happen.

      Attachments

        Issue Links

          Activity

            People

              granthenke Grant Henke
              granthenke Grant Henke
              Jun Rao Jun Rao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: