Re: Read configuration instead of hard code

2017-07-13 Thread Timo Walther
Hi Desheng, Flink programs are defined in a regular Java main() method. They are executed on the Flink Client (usually the JobManeger) when submitted, you can add arbirary additional logic (like reading a file from an NFS) to the code. After retrieving the Kafka Info you can pass it to the Fl

Read configuration instead of hard code

2017-07-13 Thread ZalaCheung
Hi all, I use Kafka as the source of my data stream. Instead of specifying the host and topic of Kafka directly in code, is that possible to read the configuration including Kakfa info from somewhere else like file or database? Desheng Zhang E-mail: gzzhangdesh...@corp.netease.com;