public static Builder getNodeConfig ( String clusterName , String nodeName , String networkHost , String homePath , boolean nodeIngest ) { return Settings . builder ( ) // .put("path.metric", dataPath).put("http.port", httpRange) // .put("transport.tcp.port", transportRange) . put ( "node.name" , nodeName ) . put ( "cluster.name" , clusterName ) . put ( "network.host" , networkHost ) . put ( "path.home" , homePath ) . put ( "transport.type" , "netty4" ) // .put("discovery.type", "none") . put ( "http.type" , "netty4" ) . put ( "node.ingest" , nodeIngest ) ; }
Gets node config .