@Test public void getConfig() throws IOException { EsReaderConfiguration config = loadConfig(EsReaderConfiguration.class, "garmadon-config.yml"); assertEquals("elasticsearch", config.getElasticsearch().getHost()); assertEquals(500, config.getElasticsearch().getBulkActions()); assertEquals(10, config.getElasticsearch().getBulkSizeMB()); }
public ElasticsearchConfiguration getElasticsearch() { return elasticsearch; }
EsReaderConfiguration { public ElasticsearchConfiguration getElasticsearch() { return elasticsearch; } }
EsReaderConfiguration { public ElasticsearchConfiguration getElasticsearch() { return elasticsearch; }  }
EsReaderConfiguration { public ElasticsearchConfiguration getElasticsearch() { return elasticsearch; }  ElasticsearchConfiguration getElasticsearch(); void setElasticsearch(ElasticsearchConfiguration elasticsearch); KafkaConfiguration getKafka(); void setKafka(KafkaConfiguration kafka); PrometheusConfiguration getPrometheus(); void setPrometheus(PrometheusConfiguration prometheus); }
EsReaderConfiguration { public ElasticsearchConfiguration getElasticsearch() { return elasticsearch; }  ElasticsearchConfiguration getElasticsearch(); void setElasticsearch(ElasticsearchConfiguration elasticsearch); KafkaConfiguration getKafka(); void setKafka(KafkaConfiguration kafka); PrometheusConfiguration getPrometheus(); void setPrometheus(PrometheusConfiguration prometheus);  }