You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/19 08:01:42 UTC

[GitHub] [pulsar] xuesongxs commented on a diff in pull request #16323: [Improve][broker] Add gzip compression before http service response

xuesongxs commented on code in PR #16323:
URL: https://github.com/apache/pulsar/pull/16323#discussion_r924185139


##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -323,6 +323,12 @@ public class ServiceConfiguration implements PulsarConfiguration {
             + "(0 to disable limiting)")
     private int maxHttpServerConnections = 2048;
 
+    @FieldContext(
+            category = CATEGORY_SERVER,
+            doc = "enable compression when the HTTP service responds to the client"
+    )
+    private boolean enableCompress = false;

Review Comment:
   please review



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