liubao68 commented on code in PR #317:
URL: https://github.com/apache/servicecomb-docs/pull/317#discussion_r1458410677


##########
java-chassis-reference/zh_CN/docs/question-and-answer/faq.md:
##########
@@ -313,9 +313,32 @@ public MultiResponse200 errorCode(MultiRequest request) {
 
     * A: 可以使用@JsonIgnore注解标记需要忽略的属性, 例如:
 
-            public class OutputForTest{
-                @JsonIgnore
-                private String outputId = null;
-                private String inputId = null;
-                ...
-             }
+        ```java
+        public class OutputForTest{
+            @JsonIgnore
+            private String outputId = null;
+            private String inputId = null;
+            ...
+         }
+        ```
+
+* **Q: 如何使用数据压缩传输的能力?**
+
+    * A: 服务端要开启响应数据压缩传输的能力,需要进行如下配置:
+
+        ```yaml
+        servicecomb:
+          rest:
+            server:
+             compression: true
+               ```
+               同时,消费端需要同步开启配置项:
+               ```yaml
+               servicecomb:
+                 rest:
+                  client:
+                    connection:
+                      compression: true

Review Comment:
   seams formatting is not correct



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