Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1326 New consumer checklist
  3. KAFKA-1893

Allow regex subscriptions in the new consumer

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • consumer
    • None

    Description

      The consumer needs to handle subscribing to regular expressions. Presumably this would be done as a new api,

        void subscribe(java.util.regex.Pattern pattern);
      

      Some questions/thoughts to work out:

      • It should not be possible to mix pattern subscription with partition subscription.
      • Is it allowable to mix this with normal topic subscriptions? Logically this is okay but a bit complex to implement.
      • We need to ensure we regularly update the metadata and recheck our regexes against the metadata to update subscriptions for new topics that are created or old topics that are deleted.

      Attachments

        Issue Links

          Activity

            People

              singhashish Ashish Singh
              jkreps Jay Kreps
              Gwen Shapira Gwen Shapira
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: