Support Questions
Find answers, ask questions, and share your expertise

What does the input-events tag in coordinator.xml do?

What does the input-events tag in coordinator.xml do?

New Contributor
I am trying to understand a coordinator.xml, but not able to understand what does the input-events tag do.can you please help me in understanding, when will this workflow get triggered.
 
<coordinator-app name="MY_APP" frequency="5" start="2009-02-01T00:00Z" end="2009-02-07T00:00Z" timezone="UTC" xmlns="uri:oozie:coordinator:0.1">
   <datasets>
      <dataset name="input1" frequency="5" initial-instance="2009-01-01T00:00Z" timezone="UTC">
         <uri-template>hdfs://localhost:9000/tmp/revenue_feed/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}</uri-template>
      </dataset>
   </datasets>
   <input-events>
      <data-in name="coordInput1" dataset="input1">
          <start-instance>${coord:minutes(-10)}</start-instance>
          <end-instance>${coord:current(-5)}</end-instance>
      </data-in>
   </input-events>
   <action>
      <workflow>
         <app-path>hdfs://localhost:9000/tmp/workflows</app-path>
      </workflow>
   </action>     
</coordinator-app>