You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Dhruv Kumar <ga...@gmail.com> on 2018/04/26 18:51:28 UTC
Apache Flink Examples
Hi
I have been exploring Apache Flink for sometime now and I notice that although the documentation has good amount of information, there may not be sufficient examples (code snippets) which quickly explain what a particular feature will do. A good example which comes to my mind is Plotly <https://plot.ly/>. Plotly has a large number of examples for each of the their features which helps the user quickly implement those features for his or her own use. I wanted to know if anyone has similar thoughts on this.
I am happy to contribute if I can get some guidance/direction.
I may be absolutely wrong. Please correct me if I am.
Thanks.
--------------------------------------------------
Dhruv Kumar
PhD Candidate
Department of Computer Science and Engineering
University of Minnesota
www.dhruvkumar.me
Re: Apache Flink Examples
Posted by Dhruv Kumar <ga...@gmail.com>.
Thanks. Tests and the example folder will help.
--------------------------------------------------
Dhruv Kumar
PhD Candidate
Department of Computer Science and Engineering
University of Minnesota
www.dhruvkumar.me
> On Apr 27, 2018, at 06:47, Hung <un...@gmail.com> wrote:
>
> in my case I usually check the tests they write for each function I want to
> use.
>
> Take CountTrigger as an example, if I want to customize my own way of
> counting, I will have a look at
> the test the write
>
> https://github.com/apache/flink/blob/8dfb9d00653271ea4adbeb752da8f62d7647b6d8/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/CountTriggerTest.java
>
> Then I understand how this function is expected to work, and then I write my
> own test with my expected result.
>
> Test is the best documentation I would say.
>
> Also there is an example folder in github.
> https://github.com/apache/flink/tree/master/flink-examples
>
> Best,
>
> Sendoh
>
>
>
> --
> Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Re: Apache Flink Examples
Posted by Hung <un...@gmail.com>.
in my case I usually check the tests they write for each function I want to
use.
Take CountTrigger as an example, if I want to customize my own way of
counting, I will have a look at
the test the write
https://github.com/apache/flink/blob/8dfb9d00653271ea4adbeb752da8f62d7647b6d8/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/CountTriggerTest.java
Then I understand how this function is expected to work, and then I write my
own test with my expected result.
Test is the best documentation I would say.
Also there is an example folder in github.
https://github.com/apache/flink/tree/master/flink-examples
Best,
Sendoh
--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/