menu
techminis

A naukri.com initiative

google-web-stories
source image

Socprime

3w

read

357

img
dot

Image Credit: Socprime

How to prevent BufferOverflowError

  • To prevent BufferOverflowError when getting logs from Kafka/in_tail and facing connection issues to OpenSearch/ElasticSearch, you can customize Fluentd buffer in the output.
  • Set flush_mode to 'interval', flush_interval to a custom time, and overflow_action to 'block' to handle buffer overflow.
  • Configure retry_max_interval to set the maximum interval for retries and retry_randomize to false for a randomized interval.
  • For buffering, set chunk_limit_size to a specified value in megabytes to control the size of each chunk.

Read Full Article

like

21 Likes

For uninterrupted reading, download the app