maytasm commented on a change in pull request #11078:
URL: https://github.com/apache/druid/pull/11078#discussion_r609314917



##########
File path: 
server/src/main/java/org/apache/druid/server/audit/SQLAuditManagerConfig.java
##########
@@ -31,6 +31,9 @@
   @JsonProperty
   private boolean includePayloadAsDimensionInMetric = false;
 
+  @JsonProperty
+  private long maxPayloadSizeBytes = -1;

Review comment:
       `HumanReadableBytes` won't work here. I am using the value `-1` as 
disabled this check / unlimited max payload size. This is the same as config 
like maxBytesInMemory where setting maxBytesInMemory to -1 disables the check.
   

##########
File path: 
server/src/main/java/org/apache/druid/server/audit/SQLAuditManagerConfig.java
##########
@@ -31,6 +31,9 @@
   @JsonProperty
   private boolean includePayloadAsDimensionInMetric = false;
 
+  @JsonProperty
+  private long maxPayloadSizeBytes = -1;

Review comment:
       `HumanReadableBytes` won't work here. I am using the value `-1` to 
disabled this check / unlimited max payload size. This is the same as config 
like maxBytesInMemory where setting maxBytesInMemory to -1 disables the check.
   




-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to