[jira] [Updated] (FLINK-16517) Add a long running WordCount example

2020-03-17 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-16517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated FLINK-16517:
---
Labels: pull-request-available  (was: )

> Add a long running WordCount example
> 
>
> Key: FLINK-16517
> URL: https://issues.apache.org/jira/browse/FLINK-16517
> Project: Flink
>  Issue Type: Improvement
>  Components: Examples
>Reporter: Ethan Li
>Assignee: Ethan Li
>Priority: Minor
>  Labels: pull-request-available
>
> As far as I know, flink doesn't have a long running WordCount example for 
> users to start with or doing some simple tests.  
> The closest one is SocketWindowWordCount. But it requires setting up a server 
> (nc -l ), which is not hard, but still tedious for simple use cases. And it 
> requires human input for the job to actually run.
> I propose to add or modify current WordCount example to have a SourceFunction 
> that randomly generates input data based on a set of sentences, so the 
> WordCount job can run forever. The generation ratio will be configurable.
> This will be the easiest way to start a long running flink job and can be 
> useful for new users to start using flink quickly, or for developers to test 
> flink easily.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (FLINK-16517) Add a long running WordCount example

2020-03-09 Thread Ethan Li (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-16517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ethan Li updated FLINK-16517:
-
Description: 
As far as I know, flink doesn't have a long running WordCount example for users 
to start with or doing some simple tests.  

The closest one is SocketWindowWordCount. But it requires setting up a server 
(nc -l ), which is not hard, but still tedious for simple use cases. And it 
requires human input for the job to actually run.

I propose to add or modify current WordCount example to have a SourceFunction 
that randomly generates input data based on a set of sentences, so the 
WordCount job can run forever. The generation ratio will be configurable.

This will be the easiest way to start a long running flink job and can be 
useful for new users to start using flink quickly, or for developers to test 
flink easily.

  was:
As far as I know, flink doesn't have a long running WordCount example for users 
to start with or doing some simple tests.  

The closest one is SocketWindowWordCount. But it requires setting up a server 
(nc -l ), which is not hard, but still tedious for simple use cases.

I propose to add or modify current WordCount example to have a SourceFunction 
that randomly generates input data based on a set of sentences, so the 
WordCount job can run forever. The generation ratio will be configurable.

This will be the easiest way to start a long running flink job and can be 
useful for new users to start using flink quickly, or for developers to test 
flink easily.


> Add a long running WordCount example
> 
>
> Key: FLINK-16517
> URL: https://issues.apache.org/jira/browse/FLINK-16517
> Project: Flink
>  Issue Type: Improvement
>  Components: Examples
>Reporter: Ethan Li
>Priority: Minor
>
> As far as I know, flink doesn't have a long running WordCount example for 
> users to start with or doing some simple tests.  
> The closest one is SocketWindowWordCount. But it requires setting up a server 
> (nc -l ), which is not hard, but still tedious for simple use cases. And it 
> requires human input for the job to actually run.
> I propose to add or modify current WordCount example to have a SourceFunction 
> that randomly generates input data based on a set of sentences, so the 
> WordCount job can run forever. The generation ratio will be configurable.
> This will be the easiest way to start a long running flink job and can be 
> useful for new users to start using flink quickly, or for developers to test 
> flink easily.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)