You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add EventCacheCount as member of BinlogSyncerConfig to limit streamer's event channel size (#830)
* lower memory usage by reducing event chan size in streamer
When consuming events from stream is blocked, the chan may use too much memory
* make streamer's event chan size configurable
When the consumption speed of the event chan in streamer cannot catch up with its production speed, leading to an accumulation of events, the current fixed channel size of 10240 might occupy significant memory, potentially triggering an Out Of Memory (OOM) condition. Making the size of the event chan configurable would allow for controlling the memory usage of the streamer.
* update cfg name StreamerChanSize to EventCacheSize
* EventCacheSize is renamed to EventCacheCount, to make the variable name more reflective of its actual meaning.
0 commit comments