@Test public void defaultConfigTest() { Properties defaultConfig = Config.getDefaultConfig(); assertTrue(2 == defaultConfig.size()); assertTrue(defaultConfig.containsKey(Config.BOOTSTRAP_SERVERS_KEY)); assertTrue(defaultConfig.containsKey(Config.ITERATION_BETWEEN_SNAPSHOT)); }
public static Properties getDefaultConfig() { return getDefaultConfigFromProps(CONF); }
Config { public static Properties getDefaultConfig() { return getDefaultConfigFromProps(CONF); } }
Config { public static Properties getDefaultConfig() { return getDefaultConfigFromProps(CONF); } private  Config(); }
Config { public static Properties getDefaultConfig() { return getDefaultConfigFromProps(CONF); } private  Config(); static String getBootStrapServers(); static Properties getDefaultConfig(); static Properties getConsumerConfig(String caller); static Properties getProducerConfig(String caller); static Properties getSnapshotConsumerConfig(); static Properties getSnapshotProducerConfig(); static Properties getDefaultConfigFromProps(String fileName); }
Config { public static Properties getDefaultConfig() { return getDefaultConfigFromProps(CONF); } private  Config(); static String getBootStrapServers(); static Properties getDefaultConfig(); static Properties getConsumerConfig(String caller); static Properties getProducerConfig(String caller); static Properties getSnapshotConsumerConfig(); static Properties getSnapshotProducerConfig(); static Properties getDefaultConfigFromProps(String fileName); static final String BOOTSTRAP_SERVERS_KEY; static final String DEFAULT_KAFKA_PORT; static final String NAMESPACE; static final String DEFAULT_CONTROL_TOPIC; static final String DEFAULT_SNAPSHOT_TOPIC; static final String ITERATION_BETWEEN_SNAPSHOT; static final int DEFAULT_ITERATION_BETWEEN_SNAPSHOT; static final String DEFAULT_PRINTER_TYPE; static final String MAX_SNAPSHOT_AGE; static final String DEFAULT_MAX_SNAPSHOT_AGE_SEC; static final String MY_CLUSTER_KAFKA_BOOTSTRAP_SERVICE_HOST; static final String BROKER_URL; static final int DEFAULT_POLL_TIMEOUT; static final int DEFAULT_POLL_SNAPSHOT_TIMEOUT; static final String POLL_TIMEOUT; static final String POLL_TIMEOUT_SNAPSHOT; static final String POLL_TIMEOUT_UNIT; static final String POLL_TIMEOUT_UNIT_SNAPSHOT; static final PollUnit POLL_TIMEOUT_DEFAULT_UNIT; static final PollUnit POLL_TIMEOUT_SNAPSHOT_DEFAULT_UNIT; static final String SKIP_ON_DEMAND_SNAPSHOT; static final String TEST; static final String UNDER_TEST; static final String MAX_SNAPSHOT_REQUEST_ATTEMPTS; static final String UPDATABLE_KJAR; static final String KJAR_GAV; static final String DEFAULT_MAX_SNAPSHOT_REQUEST_ATTEMPTS; }