StopReplicaRequest is a controller request with STOP_REPLICA API key and the following properties:

  • Controller ID

  • Controller Epoch

  • Broker Epoch

  • deletePartitions Flag

  • Partitions (Collection<TopicPartition>)

  • Version

StopReplicaRequest is created (indirectly via build factory method) when:


StopReplicaRequest.Builder Factory Object

StopReplicaRequest comes with a concrete AbstractRequest.Builder factory object that can build a StopReplicaRequest.

StopReplicaRequest build(short version)

StopReplicaRequest.Builder is used exclusively when AbstractControllerBrokerRequestBatch is requested to send UpdateMetadata requests out to all brokers.

results matching ""

    No results matching ""