Contents" 中键值对顺序问题 #409
-
Contents":[{"Key":"time","Value":"2022-09-19T06:07:03.013684742Z"},{"Key":"pod_name","Value":"spartan-govern-manage-6ff6c8755d-9829d"},{"Key":"namespace","Value":"spartan"},{"Key":"pod_uid","Value":"2fce87be-899c-4f7a-bfcc-9f4e0516fe3f"},{"Key":"container_ip","Value":"192.168.46.78"},{"Key":"container_name","Value":"spartan-govern-manage"},{"Key":"content","Value":"#######"}]} 实践中发现 ,Contents" 中键值对的顺序输出的位置并不是固定不变的,请教这个顺序有什么办法固定下来么? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
采集配置麻烦发下看看 |
Beta Was this translation helpful? Give feedback.
-
https://github.com/alibaba/ilogtail/releases/tag/v1.3.0 kafkav2已发布,可以满足格式要求。 |
Beta Was this translation helpful? Give feedback.
https://github.com/alibaba/ilogtail/releases/tag/v1.3.0
https://github.com/alibaba/ilogtail/blob/main/docs/cn/data-pipeline/flusher/kafka_v2.md
kafkav2已发布,可以满足格式要求。