forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where splitting could be skipped (#303)
When force_flush_period is set to a non-zero value, a forced flushing operation would disregard the possibility that the data being flushed may contain multiple entries. For example, the file_input operator could flush the remainder of a file that it was consuming. If multiple lines were written to that file, they would be emitted as a single log entry.
- Loading branch information
1 parent
fb2be78
commit 9c01d75
Showing
2 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters