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

Topic regex behavioral change with MirrorMaker new consumer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.9.0.1
    • 0.10.2.0
    • tools
    • None

    Description

      There is a behavioral change when you use MirrorMaker with the new consumer versus the old consumer with respect to regex parsing of the input topic list. If one combines a regex with a comma separated list for the topic list with old consumer implementation of MirrorMaker, it works ok. Example:

      --whitelist '.+(my|mine),topic,anothertopic'
      

      If you pass this in with the new consumer implementation, no topics are found. The workaround is to use something like:

      --whitelist '.+(my|mine)|topic|anothertopic'
      

      We should make an effort to be consistent between the two implementations as it's a bit surprising when migrating. I've verified the problem exists on 0.9.0.1 but I don't see at first any fix to the problem in later versions.

      Attachments

        Issue Links

          Activity

            People

              huxi_2b huxihx
              cotedm Dustin Cote
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: