Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow users to configure initial buffer size (open-telemetry#37786)
Using the filelogreceiver with a system that does not allow for in-progress file reads (holds a lock on the file while writing) and we want to read the entire file (can think of a big proto binary) then decode and construct logs. Because of this use-case and because of the files being ~5MB we do a lot of re-size of the scanner buffer until we are able to read the whole file/token. Proposal is to allow customizing the initial buffer size for use-cases like this. --------- Signed-off-by: Bogdan Drutu <[email protected]>
- Loading branch information