def print_brokers(cluster_config, brokers):
    """Print the list of brokers that will be restarted.

    :param cluster_config: the cluster configuration
    :type cluster_config: map
    :param brokers: the brokers that will be restarted
    :type brokers: map of broker ids and host names
    """
    print('Will restart the following brokers in {0}:'.format(
        cluster_config.name))
    for id, host in brokers:
        print('  {0}: {1}'.format(id, host))
