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:52:03 UTC

[GitHub] [apisix] tianqiuming edited a comment 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 edited a comment on issue #4550:
URL: https://github.com/apache/apisix/issues/4550#issuecomment-893077775


   是的,Kafka有批量上报的特性,但是我们没有用这个特性,而是变相的通过jsonArray包装成单条数据实现批量上报的功能。这会导致接入方需要判断每条数据是jsonObject还是jsonArray数据,非常不方便。
   Yes, Kafka does have a batch reporting feature, but we don't use this feature. Instead, we use jsonArray to wrap a single piece of data into a batch reporting function. 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