Skip to content

Commit

Permalink
[ISSUE 4350] Fixed eventmesh startup error under MQ plugin (#4351)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alonexc authored Aug 11, 2023
1 parent dec34f3 commit 8418745
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public class RocketMQProducerImpl implements Producer {

@Override
public synchronized void init(Properties keyValue) {
String producerGroup = keyValue.getProperty(Constants.PRODUCER_GROUP);
String producerGroup = keyValue.getProperty(Constants.PRODUCER_GROUP)
== null ? "RMQ-producerGroup" : keyValue.getProperty(Constants.PRODUCER_GROUP);

String omsNamesrv = clientConfiguration.getNamesrvAddr();
Properties properties = new Properties();
Expand Down

0 comments on commit 8418745

Please sign in to comment.