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

nacos-client与ons-client[RocketMQ 开发包] TLS_ENABLE冲突 #12202

Closed
action2013 opened this issue Jun 11, 2024 · 1 comment
Closed

nacos-client与ons-client[RocketMQ 开发包] TLS_ENABLE冲突 #12202

action2013 opened this issue Jun 11, 2024 · 1 comment
Labels
status/wontfix This will not be worked on

Comments

@action2013
Copy link

nacos-client的com.alibaba.nacos.common.tls.TlsSystemConfig与ons-client[RocketMQ 开发包]的com.aliyun.openservices.shade.com.alibaba.rocketmq.remoting.netty.TlsSystemConfig 使用相同的tls.enable作为key开启tls, 源码如下所示:

image

导致任一一边设置都影响另一边,取值如下所示:
image

maven依赖版本:

<dependency>
    <groupId>com.alibaba.nacos</groupId>
    <artifactId>nacos-client</artifactId>
    <version>2.3.2</version>
</dependency>

<dependency>
    <groupId>com.aliyun.openservices</groupId>
    <artifactId>ons-client</artifactId>
    <version>1.8.8.8.Final</version>
</dependency>

期望能把两个TlsSystemConfig的key进行区分,例如把nacos-client的TlsSystemConfig统一添加前缀nacos.client

@KomachiSion
Copy link
Collaborator

因为都是基于netty的TLS, 所以开启tls的方式是相同的。应该改不了

@KomachiSion KomachiSion added the status/wontfix This will not be worked on label Jun 12, 2024
@KomachiSion KomachiSion closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants