Hi Lasse Does your job table/sql or datastream? Here's the doc [1] for customized source in table and there is an example of socket source.
[1] https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/sourcessinks/ Best, Shammon FY On Mon, Mar 27, 2023 at 8:02 PM Lasse Nedergaard < lassenedergaardfl...@gmail.com> wrote: > Hi. > > I have to use data from a Rest API, very slow changing. Instead of doing > an async i/o request I would like to create a source function that read > from Rest Api so I can connect and enrich another stream without a lookup > for each incoming row. > Flink doc provide an explanation of how to do it but I find it pretty hard > get all the concepts to work together and I haven’t been able to find a > “simple” app example. > Is there anyone out there knowing a good example or give a simple > explanation of best practice for implementing your own source > > Med venlig hilsen / Best regards > Lasse Nedergaard > >