How can I interact with my running SPL application? Eg, if I want it to start or stop collecting certain stats, or if I want it to stop Export-ing certain properties?
In SPL, think about a stream whenever you need to send a message/data.
Create an input stream using a *Source
operator (eg, FileSource
or UDPSource
). When you want to interact with your running SPL application, send a message via that input source. The input stream operator will then send the message to a separate "parser" operator that can then act on the message.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.