(event-listener out client {:keys [on-event]})
Create an event listener for the BinaryLogClient
Create an event listener for the BinaryLogClient
(lifecycle-listener {:keys [on-connect on-communication-failure
on-event-deserialization-failure on-disconnect]})
(new-binlog-client {:keys [host port user password server-id
stream-keepalive-interval stream-keepalive-timeout]}
callbacks
{:keys [file position]}
out)
Create a new binary log client for connecting to database using the conenction parameters host port user password and server-id. The client will start reading binary log at given file and position. Events are written to out channel. Out is closed on client disconnect.
Create a new binary log client for connecting to database using the conenction parameters host port user password and server-id. The client will start reading binary log at given file and position. Events are written to out channel. Out is closed on client disconnect.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close