public static void main(String[] args) throws Exception {
MetaClientConfig config = new MetaClientConfig();
ZKConfig zkConfig = new ZKConfig("10.249.197.121", 30000, 30000, 5000);
config.setZkConfig(zkConfig);
MetaMessageSessionFactory factory = new MetaMessageSessionFactory(config);
MessageProducer producer = factory.createProducer(false);
String topic = "test";
producer.publish(topic);
Message message = new Message(topic, new byte[128]);
producer.sendMessage(message);