You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/08/05 00:50:01 UTC

[GitHub] [apisix] tianqiuming commented on issue #4550: bug: When Kafka-logger is enabled, the log format for batch reporting to the backend is JSONArray instead of JSONObject format, which is different from the batch reporting implementation of the JAVA client.

tianqiuming commented on issue #4550:
URL: https://github.com/apache/apisix/issues/4550#issuecomment-893077775


   是的,Kafka有批量上报的特性,但是我们没有用这个特性,而是变相的通过jsonArray数组通过单条上报来实际批量上报的功能。这会导致接入方需要判断每条数据是jsonObject还是jsonArray数据,非常不方便。
   Yes, Kafka has a batch report feature, but we don't use this feature. Instead, we use the jsonArray array to actually report in batches. This will cause the access party to determine whether each piece of data is jsonObject or jsonArray data, which is very inconvenient.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org