Map event formatter converts the events coming from Siddhi to Map events according to the output mapping configurations. Here, each output event is considered as a map object.
Y ou can configure through the management console as explained below or by manually adding an XML file as explained in step 5.
mapmapping type. This drop-down list is populated based on the event adapter selected earlier. It lists only the mapping types supported by a particular event adapter. Some event adapters support multiple types of mappings.
Map event is simply a map object, a <key,value> pair. Name is used as a key in the event and the actual value is used as value attribute.
<PRODUCT_HOME>/repository/deployment/server/eventformatters directory, which is the event formatter deployment directory. Since hot deployment is enabled, you can simply add/remove files to deploy/undeploy from the server.
Create the XML file with the following Map mapping event formatter configurations. Event formatter implementation must start with
<eventformatter> root element as in the example below.