When to use plug-ins
Custom plug-ins can be written in C++, Java or Python. A custom plug-in is a suitable solution in the following situations:
You have an in-house or third-party library of (possibly complex) functions or classes that you want to re-use.
The operations you need to perform are more easily/efficiently performed in another language than using EPL. For example, you need to use data structures that are not easily represented in EPL.
Note: If your concern is purely performance, then the compiled EPL runtime (available on Linux, see also the
--runtime option in
Starting the correlator) may be sufficient and in some cases can produce results better than other languages, including C++ and Java.