EAGLE-143 - Add ability to auto restart CDC on failure due to NPE
This release improves error handling in Eagle CDC processing when a runtime exceptions like NullPointerException occure while reading entries from disk. With this change the CDC processor can be configured to restart CDC processing for a configurable number of times before such errors are deemed permanent.
To enable/disable CDC restarts the following configuration properties can be used:
<appname>.cdc.restartfrequency: The time in seconds to wait between attempts to restart CDC (default is 5 seconds)
<appname>.cdc.restartattempts: The maximum number of times to attempt restarting CDC (default is 1 retry).
To preserve the existing behavior of not retrying CDC after an error cdc.restartattempts should be set to 0, however this is not recommended.
Bug
EAGLE-141 - NPE in MessageProcessingTimePersister during CDC if DB is disabled and cdc is enabled
Fixed NPE in MessageProcessinTimePersister for scenarios where DB is disabled, but MPS CDC is enabled.