@Test public void testProducerConfig() { final Properties producerConfig = CommonConfig.getProducerConfig(); Assertions.assertThat(producerConfig).isNotNull(); Assertions.assertThat(producerConfig.getProperty(TEST_PROPERTY)).isEqualTo(TEST_PROPERTY_VALUE); }
public static Properties getProducerConfig() { if (producerConf == null) { producerConf = getDefaultConfigFromProps(PRODUCER_CONF); } return producerConf; }
CommonConfig { public static Properties getProducerConfig() { if (producerConf == null) { producerConf = getDefaultConfigFromProps(PRODUCER_CONF); } return producerConf; } }
CommonConfig { public static Properties getProducerConfig() { if (producerConf == null) { producerConf = getDefaultConfigFromProps(PRODUCER_CONF); } return producerConf; } private  CommonConfig(); }
CommonConfig { public static Properties getProducerConfig() { if (producerConf == null) { producerConf = getDefaultConfigFromProps(PRODUCER_CONF); } return producerConf; } private  CommonConfig(); static synchronized Properties getStatic(); static Properties getTestProperties(); static Properties getProducerConfig(); static Properties getDefaultConfigFromProps(String fileName); }
CommonConfig { public static Properties getProducerConfig() { if (producerConf == null) { producerConf = getDefaultConfigFromProps(PRODUCER_CONF); } return producerConf; } private  CommonConfig(); static synchronized Properties getStatic(); static Properties getTestProperties(); static Properties getProducerConfig(); static Properties getDefaultConfigFromProps(String fileName); static final String DEFAULT_NAMESPACE; static final String DEFAULT_EVENTS_TOPIC; static final String DEFAULT_KIE_SESSION_INFOS_TOPIC; static final int DEFAULT_POLL_TIMEOUT_MS; static final String KEY_SERIALIZER_KEY; static final String VALUE_SERIALIZER_KEY; static final String KEY_DESERIALIZER_KEY; static final String VALUE_DESERIALIZER_KEY; static final String GROUP_ID_CONFIG; static final String LOCAL_MESSAGE_SYSTEM_CONF; static final String SKIP_LISTENER_AUTOSTART; }