Skip to content

Commit dad3304

Browse files
authored
[ISSUE #758] Delete accessKey/secretKey from log
1 parent bddc554 commit dad3304

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

rocketmq-v5-client-spring-boot/src/main/java/org/apache/rocketmq/client/autoconfigure/RocketMQProperties.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,7 @@ public void setNamespace(String namespace) {
148148
@Override
149149
public String toString() {
150150
return "Producer{" +
151-
"accessKey='" + accessKey + '\'' +
152-
", secretKey='" + secretKey + '\'' +
153-
", endpoints='" + endpoints + '\'' +
151+
"endpoints='" + endpoints + '\'' +
154152
", topic='" + topic + '\'' +
155153
", requestTimeout=" + requestTimeout +
156154
", sslEnabled=" + sslEnabled +
@@ -304,9 +302,7 @@ public void setNamespace(String namespace) {
304302
@Override
305303
public String toString() {
306304
return "SimpleConsumer{" +
307-
"accessKey='" + accessKey + '\'' +
308-
", secretKey='" + secretKey + '\'' +
309-
", endpoints='" + endpoints + '\'' +
305+
"endpoints='" + endpoints + '\'' +
310306
", consumerGroup='" + consumerGroup + '\'' +
311307
", awaitDuration='" + awaitDuration + '\'' +
312308
", tag='" + tag + '\'' +

rocketmq-v5-client-spring-boot/src/main/java/org/apache/rocketmq/client/support/DefaultListenerContainer.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,6 @@ public String toString() {
356356
return "DefaultListenerContainer{" +
357357
"name='" + name + '\'' +
358358
", running=" + running +
359-
", accessKey='" + accessKey + '\'' +
360-
", secretKey='" + secretKey + '\'' +
361359
", endpoints='" + endpoints + '\'' +
362360
", consumerGroup='" + consumerGroup + '\'' +
363361
", tag='" + tag + '\'' +

0 commit comments

Comments
 (0)