Skip to content

Instantly share code, notes, and snippets.

@johndemic
Created December 9, 2011 21:55
Show Gist options
  • Save johndemic/1453479 to your computer and use it in GitHub Desktop.
Save johndemic/1453479 to your computer and use it in GitHub Desktop.
<flow name="testFlow">
<vm:inbound-endpoint path="in"/>
<esper:send eventPayload-ref="#[payload:]"/>
<vm:outbound-endpoint path="out"/>
</flow>
<flow name="Event Listener Flow">
<esper:listen statement="select count(*) from TestEvent
.win:time_batch(5, 'FORCE_UPDATE, START_EAGER') having count(*) &gt; 0"/>
<esper:get-event-property key="count(*)"/>
<vm:outbound-endpoint path="events"/>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment