Release 2.0.4
- 放弃 AsyncBatchConsumer 接口。
因为异步批量发送模式下,开发者需要仔细处理缓存队列,例如异步发送效率过低时需考虑缓存队列过长,或程序退出时 flush 缓存队列的问题。
建议开发者使用 LoggingConsumer 将数据输出到本地文件,并使用 LogAgent 工具导入 Sensors Analytics。
因为异步批量发送模式下,开发者需要仔细处理缓存队列,例如异步发送效率过低时需考虑缓存队列过长,或程序退出时 flush 缓存队列的问题。
建议开发者使用 LoggingConsumer 将数据输出到本地文件,并使用 LogAgent 工具导入 Sensors Analytics。