Apama 10.3 | Apama Documentation | Deploying and Managing Apama Applications | Deploying and Managing Queries | Running queries on correlator clusters | Mixing queries with monitors
Mixing queries with monitors
It is possible to have both monitors and queries in a project.
Events that are to be processed by queries should be sent to the com.apama.queries channel from monitors. Queries may send events to any channel which EPL monitors may be subscribed to.
While queries will automatically scale and share state across a cluster, EPL monitors will not. Thus, be aware that a query may process subsequent events matching a pattern on different nodes. On different nodes, monitors with potentially different state will be executing. Similarly, the state of EPL monitors is not automatically stored in the distributed MemoryStore.
Both EPL monitors and Apama queries can make use of actions defined on events, subject to some limitations on the use of spawn, die, and event listeners. See Restrictions in queries.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.