Class RemoveBrokersOptions

java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<RemoveBrokersOptions>
org.apache.kafka.clients.admin.RemoveBrokersOptions

@Evolving public class RemoveBrokersOptions extends AbstractOptions<RemoveBrokersOptions>
  • Constructor Details

    • RemoveBrokersOptions

      public RemoveBrokersOptions()
  • Method Details

    • shouldShutdownBrokers

      public boolean shouldShutdownBrokers()
      Returns whether the broker removal operation should shut down the removed brokers at the end of the process.
    • shouldShutdownBrokers

      public RemoveBrokersOptions shouldShutdownBrokers(boolean shouldShutdownBrokers)
      Sets whether the broker removal operation should shut down the removed brokers at the end of the process.