Skip to content

Commit 5559a9c

Browse files
committed
fix bug in sasl.jaas.config
1 parent 6e8d2ad commit 5559a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/kafkaplugin/src/main/java/org/tron/eventplugin/MessageSenderImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private KafkaProducer createProducer(int eventType){
108108
props.put("sasl.mechanism", "SCRAM-SHA-512");
109109
props.put("sasl.jaas.config",
110110
"org.apache.kafka.common.security.scram.ScramLoginModule required username=\"" +
111-
user + "\" password=\"" + passwd + "\"");
111+
user + "\" password=\"" + passwd + "\";");
112112
}
113113
}
114114
producer = new KafkaProducer<String, String>(props);

0 commit comments

Comments
 (0)