编译报错

Open Beginner friendly
#692 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
java, spring-boot
Domain
backend

Research direction

Start at org.apache.rocketmq.spring.support.RocketMQUtil#createDefaultMQProducer and inspect how it constructs org.apache.rocketmq.client.trace.AsyncTraceDispatcher. Build the rocketmq-spring project with the reported 2.3.1 dependency context to reproduce the compilation error. Done means the constructor call supplies the required batchNum parameter, or the constructor change is made consistently, and compilation succeeds.

Written by the indexing model from the issue text.

Description

BUG REPORT

  1. Please describe the issue you observed:

org.apache.rocketmq.spring.support.RocketMQUtil#createDefaultMQProducer
这个方法存在编译错误,看起来是构建org.apache.rocketmq.client.trace.AsyncTraceDispatcher对象时,缺少了参数 batchNum

  1. Please tell us about your environment:
    与环境无关,源码本身的内容
    版本:
    org.apache.rocketmq
    rocketmq-spring-boot-starter
    2.3.1
  2. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
    补充好参数就行了,或者修改org.apache.rocketmq.client.trace.AsyncTraceDispatcher 构造函数
Dominant language
Java
Stars
2.3k
Forks
942
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/rocketmq-spring

All issues in apache/rocketmq-spring

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.