Specify your server settings in the Analytics message listener file.
-
Navigate to the event-listeners/bin Analytics installation
directory and open the set-env-custom.sh file.
This file contains commented statements that you can uncomment and edit to reflect your environment; for example, the default location of your DI database (as specified in the previous topic).
You can review the default settings in set-env.sh. Do not edit the set-env.sh file directly, instead use set-env-custom.sh to override values safely.
The listeners are Spring Boot applications, and can be customized to meet individual requirements. See the Spring Boot Reference Guide for more information.
- If you are using MySQL, copy the database driver file, mysql-connector-java-x.x.x-bin.jar, to the event-listeners/lib/db directory.
- Check that the setting has been applied successfully by starting a listener instance (./db-events.sh start) and checking the log file (for example, listener-db-events.out) in the event-listeners/logs directory.