Re: Ingesting data from an API

2018-11-13 Thread Tzu-Li (Gordon) Tai
Hi Aarti, I would imagine that the described approach (sharing the same object instance with the API and the Flink runtime) would only work in toy executions, such as executing the job within the IDE. Moreover, you would not be able to have exactly-once semantics with this source, which for most

Ingesting data from an API

2018-11-11 Thread Aarti Gupta
Hi, I have an API that emits output that I want to use as a data source for Flink. I have written a custom source function that is as follows - public class DynamicRuleSource extends AlertingRuleSource { private ArrayList rules = new ArrayList(); public void run(SourceContext ctx) thro