Skip to content

Suggestion about the third part dependency of the RocketMQ client. #1241

@ChaosYjh

Description

@ChaosYjh

FEATURE REQUEST

  1. Please describe the feature you are requesting.
    我认为rocketmq应该尽量减少客户端不必要的包引用以降低包冲突的风险。如下图一,客户端在添加acl支持的时候,所引用的guava包,仅仅在org.apache.rocketmq.srvutil.FileWatchService#FileWatchService里被用来做字符串的空判断(图二),其实完全可以用common模块所引用的commons-lang3包里的StringUtils.isNotEmpty来替代,并把guava包的引用放到filter模块里。这样用户在使用rocketmq客户端的时候就减少了不必要的guava依赖

屏幕快照 2019-06-03 08 57 19

image

  1. Provide any additional detail on your proposed use case for this feature.

  2. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?
    blocker

  3. If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions