@Test
public void test() throws Exception {

	ClientEnvironment env = lookup(ClientEnvironment.class);
	Properties config = env.getProducerConfig("test_topic");
	assertNotNull(config);
	assertEquals(config.getProperty("hermes"), "mq");
	assertEquals(config.getProperty("inherited"), "got");
	config = env.getProducerConfig("not_exist");
	assertNotNull(config);
	assertEquals(config.getProperty("hermes"), "default");
	assertEquals(config.getProperty("inherited"), "got");
}