apisix
apisix copied to clipboard
About kafka-logger param: batch_max_size
Description
After this parameter is set, the messages sent to Kafka look like this: [{"a":1,"b":2},{"a":3,"b":4}] This caused a problem, some clients could not parse this format ! Some tools first save the message buffers and submit them in batches, but do not merge them together. The message from kafka is as follows: {"a":1,"b":2},{"a":3,"b":4}