private static void configure(FleetControllerOptions.Builder builder, FleetcontrollerConfig config) {
        builder.setClusterName(config.cluster_name());
        builder.setIndex(config.index());
        builder.setCount(config.fleet_controller_count());
        builder.setZooKeeperSessionTimeout((int) (config.zookeeper_session_timeout() * 1000));
        builder.setMasterZooKeeperCooldownPeriod((int) (config.master_zookeeper_cooldown_period() * 1000));
        builder.setRpcPort(config.rpc_port());
        builder.setHttpPort(config.http_port());
        builder.setMaxTransitionTime(NodeType.STORAGE, config.storage_transition_time());
        builder.setMaxTransitionTime(NodeType.DISTRIBUTOR, config.distributor_transition_time());
        builder.setMaxInitProgressTime(config.init_progress_time());
        builder.setMaxPrematureCrashes(config.max_premature_crashes());
        builder.setStableStateTimePeriod(config.stable_state_time_period());
        builder.setEventLogMaxSize(config.event_log_max_size());
        builder.setEventNodeLogMaxSize(config.event_node_log_max_size());
        builder.setMinDistributorNodesUp(config.min_distributors_up_count());
        builder.setMinStorageNodesUp(config.min_storage_up_count());
        builder.setMinRatioOfDistributorNodesUp(config.min_distributor_up_ratio());
        builder.setMinRatioOfStorageNodesUp(config.min_storage_up_ratio());
        builder.setCycleWaitTime((int) (config.cycle_wait_time() * 1000));
        builder.setMinTimeBeforeFirstSystemStateBroadcast((int) (config.min_time_before_first_system_state_broadcast() * 1000));
        builder.setNodeStateRequestTimeoutMS((int) (config.get_node_state_request_timeout() * 1000));
        builder.setShowLocalSystemStatesInEventLog(config.show_local_systemstates_in_event_log());
        builder.setMinTimeBetweenNewSystemStates(config.min_time_between_new_systemstates());
        builder.setMaxSlobrokDisconnectGracePeriod((int) (config.max_slobrok_disconnect_grace_period() * 1000));
        builder.setDistributionBits(config.ideal_distribution_bits());
        builder.setMinNodeRatioPerGroup(config.min_node_ratio_per_group());
        builder.setMaxDeferredTaskVersionWaitTime(Duration.ofMillis((int)(config.max_deferred_task_version_wait_time_sec() * 1000)));
        builder.setClusterHasGlobalDocumentTypes(config.cluster_has_global_document_types());
        builder.setMinMergeCompletionRatio(config.min_merge_completion_ratio());
        builder.enableTwoPhaseClusterStateActivation(config.enable_two_phase_cluster_state_transitions());
        builder.setClusterFeedBlockEnabled(config.enable_cluster_feed_block());
        builder.setClusterFeedBlockLimit(Map.copyOf(config.cluster_feed_block_limit()));
        builder.setClusterFeedBlockNoiseLevel(config.cluster_feed_block_noise_level());
        builder.setMaxNumberOfGroupsAllowedToBeDown(config.max_number_of_groups_allowed_to_be_down());
        builder.setIncludeDistributionConfigInClusterStateBundles(config.include_distribution_config_in_cluster_state_bundle());
        builder.setAggregateContentNodeErrorReportsFromDistributors(config.aggregate_content_node_error_reports_from_distributors());
    }
The {@link VespaZooKeeperServer} argument is required by the injected {@link ClusterController},
to ensure that zookeeper has started before it starts polling it. It must be done here to avoid
duplicates being created by the dependency injection framework.
clustercontroller-apps/src/main/java/com/yahoo/vespa/clustercontroller/apps/clustercontroller/ClusterControllerClusterConfigurer.java