(tail! config-map callback)
Initialize a binlog stream and execute a callback when it receives data
config-map is a map as fed to dumpa/create-conf: https://github.com/teamgantt/dumpa/blob/master/src/dumpa/core.clj#L36
config-map supports a :callbacks key for all callbacks supported by dumpa/create-conf, as well as a :tables key that optionally supports which tables to listen for changes on
callback will be a function that is called when binlog changes are received: https://github.com/teamgantt/dumpa#row-format
Initialize a binlog stream and execute a callback when it receives data config-map is a map as fed to dumpa/create-conf: https://github.com/teamgantt/dumpa/blob/master/src/dumpa/core.clj#L36 config-map supports a :callbacks key for all callbacks supported by dumpa/create-conf, as well as a :tables key that optionally supports which tables to listen for changes on callback will be a function that is called when binlog changes are received: https://github.com/teamgantt/dumpa#row-format
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close