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

Avoid unneeded subscription regex check if metadata version unchanged

    XMLWordPrintableJSON

Details

    Description

      When using pattern subscription (java pattern), the new consumer regularly checks if the list of topics that match the regex has changed. This is done as part of the consumer poll loop, and it evaluates the regex using the latest cluster metadata. As an improvement, we should avoid evaluating the regex if the metadata version hasn't changed (similar to what the legacy coordinator does here)

      Attachments

        Issue Links

          Activity

            People

              phuctran Phuc Hong Tran
              lianetm Lianet Magrans
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: