@InterfaceStability.Unstable
    default UnregisterBrokerResult unregisterBroker(int brokerId) {
        return unregisterBroker(brokerId, new UnregisterBrokerOptions());
    }
Unregister a broker.
<p>
This operation does not have any effect on partition assignments. It is supported
only on Kafka clusters which use Raft to store metadata, rather than ZooKeeper.

This is a convenience method for {@link #unregisterBroker(int, UnregisterBrokerOptions)}

@param brokerId  the broker id to unregister.

@return the {@link UnregisterBrokerResult} containing the result
clients/src/main/java/org/apache/kafka/clients/admin/Admin.java