Skip to content

1.1.6canal server在远程加载canal.properties文件时,和canal admin通信,cluster不填会报错 #4243

@originyy

Description

@originyy
  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

environment

  • canal 1.1.6

Issue Description

企业微信截图_16558634032503
企业微信截图_16558634798603
企业微信截图_16558634484644
在不填cluster的时候,拼接url时会出现cluster="null"。

Steps to reproduce

应设置默认值""或判空设为"".

Expected behaviour

正确拼接应该是cluster=""。

Actual behaviour

cluster="null"

If there is an exception, please attach the exception trace:

Just put your stack trace here!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions