Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.9.2, 1.14.0, 1.13.1, 1.13.2
Description
CaptureChangeMySQL processor registers a listener with Blocking Queue as buffer with the BinLogClient. When the thread polling from the Queue is slower compared to writer, the queue grows uncontrollably and brings down the node.
Since the flow writing to listeners in [mysql-binlog-connector-java|https://github.com/shyiko/mysql-binlog-connector-java] is blocking, we should initialize the queue with initial size and queue offer timeout specified by the user based in cluster configuration.