Skip to content

A simple EPL utility for use with Cumulocity IoT and (Apama) Streaming Analytics EPL Apps

License

Notifications You must be signed in to change notification settings

kpalf/EPLApps_CorrelatorProcessTerminator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

A sample Apama EPL App called "CorrelatorProcessTerminator" for use in Cumulocity IoT

Sometimes it is useful to be able to "activate" a simple existing EPL App that is able to quickly cause the apama-ctrl microservice to restart. No need for support tickets, or Ops assistance, or higher-level permissions.

Once deployed as a new EPL App, you just flick the activation switch and 10seconds later the microservice will restart. After restart the EPLApp is recovered as "active", but the fail-safe ensures that it dies immediately with an explanation. If the system was extremely heavily overloaded, then you might need to increase the failsafe beyond 2mins, but in my tests it was detecting uptime of around 1.8secs at the time it checked and then died. The app would appear to be active, but in reality has no live mthreads, so to use again just reactivate it. Hope it is useful in your toolbox.


LICENSE - Apache License v2.0

Anyone is free to use and modify these EPL files. They are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite, nor any part of the formal Apama Community assets provided by Software AG. Users are free to use, fork and modify them.

About

A simple EPL utility for use with Cumulocity IoT and (Apama) Streaming Analytics EPL Apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published