Java Code Examples for org.apache.rocketmq.test.util.RandomUtil#getStringByUUID()
The following examples show how to use
org.apache.rocketmq.test.util.RandomUtil#getStringByUUID() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AbstractMQProducer.java From rocketmq with Apache License 2.0 | 5 votes |
public AbstractMQProducer(String topic) { super(); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }
Example 2
Source File: AbstractMQProducer.java From rocketmq_trans_message with Apache License 2.0 | 5 votes |
public AbstractMQProducer(String topic) { super(); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }
Example 3
Source File: ProducerFactory.java From rocketmq_trans_message with Apache License 2.0 | 5 votes |
public static DefaultMQProducer getRMQProducer(String ns) { DefaultMQProducer producer = new DefaultMQProducer(RandomUtil.getStringByUUID()); producer.setNamesrvAddr(ns); try { producer.start(); } catch (MQClientException e) { e.printStackTrace(); } return producer; }
Example 4
Source File: AbstractMQProducer.java From rocketmq-all-4.1.0-incubating with Apache License 2.0 | 5 votes |
public AbstractMQProducer(String topic) { super(); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }
Example 5
Source File: ProducerFactory.java From rocketmq-all-4.1.0-incubating with Apache License 2.0 | 5 votes |
public static DefaultMQProducer getRMQProducer(String ns) { DefaultMQProducer producer = new DefaultMQProducer(RandomUtil.getStringByUUID()); producer.setNamesrvAddr(ns); try { producer.start(); } catch (MQClientException e) { e.printStackTrace(); } return producer; }
Example 6
Source File: ProducerFactory.java From DDMQ with Apache License 2.0 | 5 votes |
public static DefaultMQProducer getRMQProducer(String ns) { DefaultMQProducer producer = new DefaultMQProducer(RandomUtil.getStringByUUID()); producer.setNamesrvAddr(ns); try { producer.start(); } catch (MQClientException e) { e.printStackTrace(); } return producer; }
Example 7
Source File: ProducerFactory.java From DDMQ with Apache License 2.0 | 5 votes |
public static DefaultMQProducer getRMQProducer(String ns) { DefaultMQProducer producer = new DefaultMQProducer(RandomUtil.getStringByUUID()); producer.setNamesrvAddr(ns); try { producer.start(); } catch (MQClientException e) { e.printStackTrace(); } return producer; }
Example 8
Source File: ProducerFactory.java From rocketmq with Apache License 2.0 | 5 votes |
public static DefaultMQProducer getRMQProducer(String ns) { DefaultMQProducer producer = new DefaultMQProducer(RandomUtil.getStringByUUID()); producer.setNamesrvAddr(ns); try { producer.start(); } catch (MQClientException e) { e.printStackTrace(); } return producer; }
Example 9
Source File: AbstractMQProducer.java From rocketmq-read with Apache License 2.0 | 5 votes |
public AbstractMQProducer(String topic) { super(); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }
Example 10
Source File: ProducerFactory.java From rocketmq-read with Apache License 2.0 | 5 votes |
public static DefaultMQProducer getRMQProducer(String ns) { DefaultMQProducer producer = new DefaultMQProducer(RandomUtil.getStringByUUID()); producer.setNamesrvAddr(ns); try { producer.start(); } catch (MQClientException e) { e.printStackTrace(); } return producer; }
Example 11
Source File: AbstractMQProducer.java From rocketmq-4.3.0 with Apache License 2.0 | 5 votes |
public AbstractMQProducer(String topic) { super(); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }
Example 12
Source File: ProducerFactory.java From rocketmq-4.3.0 with Apache License 2.0 | 5 votes |
public static DefaultMQProducer getRMQProducer(String ns) { DefaultMQProducer producer = new DefaultMQProducer(RandomUtil.getStringByUUID()); producer.setNamesrvAddr(ns); try { producer.start(); } catch (MQClientException e) { e.printStackTrace(); } return producer; }
Example 13
Source File: AbstractMQProducer.java From DDMQ with Apache License 2.0 | 5 votes |
public AbstractMQProducer(String topic) { super(); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }
Example 14
Source File: AbstractMQProducer.java From rocketmq-read with Apache License 2.0 | 4 votes |
public AbstractMQProducer(String topic, String originMsgCollector, String msgBodyCollector) { super(originMsgCollector, msgBodyCollector); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }
Example 15
Source File: AbstractMQProducer.java From rocketmq with Apache License 2.0 | 4 votes |
public AbstractMQProducer(String topic, String originMsgCollector, String msgBodyCollector) { super(originMsgCollector, msgBodyCollector); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }
Example 16
Source File: AbstractMQProducer.java From rocketmq-4.3.0 with Apache License 2.0 | 4 votes |
public AbstractMQProducer(String topic, String originMsgCollector, String msgBodyCollector) { super(originMsgCollector, msgBodyCollector); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }
Example 17
Source File: AbstractMQProducer.java From rocketmq_trans_message with Apache License 2.0 | 4 votes |
public AbstractMQProducer(String topic, String originMsgCollector, String msgBodyCollector) { super(originMsgCollector, msgBodyCollector); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }
Example 18
Source File: AbstractMQProducer.java From DDMQ with Apache License 2.0 | 4 votes |
public AbstractMQProducer(String topic, String originMsgCollector, String msgBodyCollector) { super(originMsgCollector, msgBodyCollector); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }
Example 19
Source File: AbstractMQProducer.java From rocketmq-all-4.1.0-incubating with Apache License 2.0 | 4 votes |
public AbstractMQProducer(String topic, String originMsgCollector, String msgBodyCollector) { super(originMsgCollector, msgBodyCollector); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }
Example 20
Source File: AbstractMQProducer.java From DDMQ with Apache License 2.0 | 4 votes |
public AbstractMQProducer(String topic, String originMsgCollector, String msgBodyCollector) { super(originMsgCollector, msgBodyCollector); producerGroupName = RandomUtil.getStringByUUID(); producerInstanceName = RandomUtil.getStringByUUID(); this.topic = topic; }