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

AlterPartitionReassignments API should allow callers to specify the option of preserving the replication factor

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Using Kafka's public APIs to get metadata regarding the non-reassigning replicas for a topic is unreliable and prone to race conditions.
      If a person or a system is to rely on the provided metadata, it can end up unintentionally increasing the replication factor for a partition.
      It would be useful to have some sort of guardrail against this happening inadvertently.

      See https://cwiki.apache.org/confluence/display/KAFKA/KIP-860%3A+Add+client-provided+option+to+guard+against+replication+factor+change+during+partition+reassignments for more detail

      Attachments

        Activity

          People

            enether Stanislav Kozlovski
            enether Stanislav Kozlovski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: