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

Improve controller's atomic grouping

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: controller
    • Labels:

      Description

      The current controller implementation atomically appends to the metadata log by making sure that all required records are on the same batch. The controller groups all of the records that result from an RPC into one batch. Some of the RPCs are:

      1. Client quota changes
      2. Configuration changes
      3. Feature changes
      4. Topic creation

      This is good enough for correctness but it is more aggressive than necessary. For example, for topic creation since errors are reported independently, the controller only needs to guarantee that all of the records for one topic are committed atomically.

        Attachments

          Activity

            People

            • Assignee:
              zhaohaidao HaiyuanZhao
              Reporter:
              jsancio Jose Armando Garcia Sancio
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: