Log Listener Configuration

DataCaster supports adding one or more log listeners to listen for log entries, for the purpose of backup, disaster recovery, etc.

This conf file specifies the list of configured Listeners, each of which needs a ListenerClass instance to implement the log listener.

The required attributes of Listener are:

  1. name: The Log Listener name used to specify the listener.
  2. ListenerClass: The class name of the server log listener class to be used, which must have a constructor with no arguments, and support the com.applibase.db.tx.LogListener interface.

Listeners may add any number of listener properties that are provided to the listener instance via the setProperties() method in the DataCasterListener interface.

The only ListenerProperty processed by the DataCaster server is: in_commit_path: Whether the listener is in the commit path, and a failure (more precisely, when it throws an Exception) of the listener will likely result in the failure of the transaction.