Skip to content

Commit

Permalink
fix(kafka): 修改properties的方法调用
Browse files Browse the repository at this point in the history
  • Loading branch information
chaorongzhi committed Oct 30, 2024
1 parent 18f3c7e commit a8da044
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private KafkaConsumer<byte[], byte[]> initConsumer(
if ("java.security.krb5.conf".equals(key)) {
System.setProperty("java.security.krb5.conf", String.valueOf(value));
} else {
props.put(key, value);
props.setProperty(String.valueOf(key), String.valueOf(value));
}
});

Expand Down

0 comments on commit a8da044

Please sign in to comment.