lhotari commented on code in PR #23386:
URL: https://github.com/apache/pulsar/pull/23386#discussion_r2370476473


##########
pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java:
##########
@@ -295,6 +295,13 @@ public class ProxyConfiguration implements 
PulsarConfiguration {
                     + "is enabled.")
     private Boolean webServiceLogDetailedAddresses;
 
+    @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/proxy.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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to