huginn/huginn

EventMixer Agent

Open

#262 opened on 2014年4月23日

GitHub で見る
 (7 comments) (5 reactions) (0 assignees)Ruby (4,264 forks)batch import
agentdiscussionhelp wanted

Repository metrics

Stars
 (49,270 stars)
PR merge metrics
 (平均マージ 4d 2h) (30d で 15 merged PRs)

説明

Ideas/Specs for a new agent:

EventMixer would take multiple incoming events and combine them into one outgoing event.

Multiple modes of functionality:

  1. "Waiting" mode

    It should:

    • Know the sources of incoming events
    • Merge any incoming events from all sources
    • Have a user configurable window of time
    • Wait until an event has been received from each source within the time window
    • Clear the queue if events are not received from all sources within the time window
    • Emit the merged event if events are received from all sources and clear the queue
  2. "Automatic" mode

    It should:

    • Merge any incoming events from all sources
    • Have a user configurable window of time
    • Merge incoming events received within this window of time.
      • Clock starts upon first received event since last outgoing event
    • Emit the merged event if the window of time has elapsed and clear the queue
  3. "Scheduled" mode

    it should:

    • Merge any incoming events from all sources
    • Run on a schedule
    • Emit the merged event upon the scheduled time and clear the queue

コントリビューターガイド