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

Consider adding a dedicated standby consumer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • streams
    • None

    Description

      We currently use the restore consumer to recover state for active tasks and to maintain standby tasks during regular processing. This setup has a few disadvantages

      1. During state recovery, we might want to apply different consumer configs compared to standby maintenance during regular processing.
      2. It make monitoring confusing: because we never commit offsets for changelog topics, users can only monitor the client's "lag metric" to observer restore progress (without the need to register a restore listener). However, if they are interesting in a restore metric, during regular processing it would report the standby lag, which can be rather confusing.

      Because the restore consumer does not use consumer group management, it seems to be low overhead to actually use a third consumer, because there won't be any heartbeat thread.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mjsax Matthias J. Sax
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: