flower
flower

Reputation: 2242

What is the naming convention for produceGroupName?

If I set the produceGroupName like '192.168.1.1:9889-1234-uuid',It will cause the exception:MQClientException The producer service state not OK, START_FAILED. If I only set the produceGroupName like uuid,it is ok.So I curious about the naming convention for produceGroupName.

Upvotes: 0

Views: 65

Answers (1)

Jack Tsai
Jack Tsai

Reputation: 26

The naming convention of producerGroupName allows only ^[%|a-zA-Z0-9_-]+$, which means that the prefix of the name you provided, 192.168.1.1:9889-1234-uuid, contains the illegal character . That would lead to the exception.

Upvotes: 1

Related Questions