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

Add preemption for controller events that have callbacks

    XMLWordPrintableJSON

Details

    Description

      There are classes that extends `ControllerEvent` and have callbacks but do not provide preemption:
      1. ApiPartitionReassignment

      2. ListPartitionReassignments

      Currently, the KafkaApi requests timeout for these events when the state of the controller changes. Instead we should preempt these events so that the requests are responded with a `NOT_CONTROLLER` error as we do for `ControlledShutdown` and `ReplicaLeaderElection` events. We can provide preemption here.  

      Attachments

        Issue Links

          Activity

            People

              jeffkbkim Jeff Kim
              jeffkbkim Jeff Kim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: