You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "lhotari (via GitHub)" <gi...@apache.org> on 2025/09/22 22:44:09 UTC
Re: [PR] [improve][broker] PIP-402: Optionally prevent role/originalPrincipal logging [pulsar]
lhotari commented on code in PR #23386:
URL: https://github.com/apache/pulsar/pull/23386#discussion_r2370473336
##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -445,6 +446,14 @@ The max allowed delay for delayed delivery (in milliseconds). If the broker rece
)
private String clusterName;
+ @FieldContext(
+ category = CATEGORY_SERVER,
+ doc = "Defines how the broker will anonymize the role and originalAuthRole before logging. "
+ + "Possible values are: NONE (no anonymization), REDACTED (replaces with '[REDACTED]'), "
+ + "hash:SHA256 (hashes using SHA-256), and hash:MD5 (hashes using MD5). Default is NONE."
+ )
+ private String authenticationRoleLoggingAnonymizer = "NONE";
Review Comment:
please add this to `conf/broker.conf` and `conf/standalone.conf` so that `PULSAR_PREFIX_` wouldn't be needed in k8s deployments.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org