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

Add request cancellation to BrokerToControllerChannelManager

    XMLWordPrintableJSON

Details

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

    Description

      It would be nice if the broker-to-controller channel manager had the ability to cancel inflight requests. Since we process requests serially, this could avoid wasting time waiting on requests which are destined to fail.

      One example is inflight ISR update requests after a leader election. The inflight request has the old leader epoch and we know it will fail. Currently, we have to wait for this request to complete before we can enqueue any new ISR changes for the partition.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mumrah David Arthur
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: