Class DemotedBroker

java.lang.Object
org.apache.kafka.clients.admin.DemotedBroker

public class DemotedBroker extends Object
  • Constructor Details

    • DemotedBroker

      public DemotedBroker(int brokerId, List<String> reasons)
  • Method Details

    • brokerId

      public int brokerId()
      The brokerId to change leadership priority on.
    • reasons

      public List<String> reasons()
      The list of reasons that this broker is currently demoted for.
    • toString

      public String toString()
      Overrides:
      toString in class Object