akka-esper-integration:示例如何以 Akka 事件总线的形式将 Esper 与 Akka 集成

时间:2021-06-28 16:15:20
【文件属性】:
文件名称:akka-esper-integration:示例如何以 Akka 事件总线的形式将 Esper 与 Akka 集成
文件大小:20KB
文件格式:ZIP
更新时间:2021-06-28 16:15:20
Scala akka-esper-整合 示例如何通过在 Akka 事件总线或 Actor 中嵌入 esper 引擎来将与 Akka 集成。 提交到总线的事件被插入到引擎中,而订阅事件总线的 Actor 将接收由于 esper 规则触发而发布的事件。 例子 class EsperEventBusExample extends ActorEventBus with EsperClassification { type EsperEvents = union[Price] #or [Sell] #or [Buy] override def esperEventTypes = new Union[EsperEvents] // generate a Buy order for a quantity of 1000 at the newest price, // if the simple a
【文件预览】:
akka-esper-integration-master
----project()
--------build.properties(18B)
--------activator-sbt-idea-shim.sbt(59B)
--------plugins.sbt(22B)
--------activator-sbt-eclipse-shim.sbt(71B)
----LICENSE.txt(1KB)
----activator.properties(323B)
----src()
--------main()
----build.sbt(303B)
----README.md(4KB)
----tutorial()
--------index.html(10KB)
----.gitignore(185B)

网友评论