Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify TimeSlicedOutput#emit mechanizm to fit BufferedOutput#emit way
Current TimeSlicedOutput#emit emits records to buffer one by one. It causes inconsistent state when queue has a problem. For example, some records are stored into buffers and raises BufferQueueLimitError. In this situation, logs are duplicated if input plugin retries. BufferedOutput and ObjectBufferedOutput uses another way. These outputs format all records into data chunk first. It is more safer than current TimeSlicedOutput way.
- Loading branch information