Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orderService模块配置 #1

Open
wjxiu opened this issue Aug 24, 2023 · 0 comments
Open

orderService模块配置 #1

wjxiu opened this issue Aug 24, 2023 · 0 comments

Comments

@wjxiu
Copy link

wjxiu commented Aug 24, 2023

在services/order-service/src/main/resources/application.yaml文件
关于

rocketmq:
  name-server: 127.0.0.1:9876

改为

rocketmq:
  name-server: 127.0.0.1:9876
  producer:
    group: Order_Dev_Group # 必须指定group

要加上rocketmq.producer.group,不然就无法创建RocketMQTemplate。不知道作者有没有遇到这个问题?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant