GitHub user bowenli86 opened a pull request:
FLINK-7609[examples] WindowWordCount example doesn't print countWindow output with default configs
- What is the purpose of the change
When running WindowWordCount example with no params (using default params), no output is generated and thus printed, because the default 'window' and 'slide' value is too large (250 and 150).
The solution is to lower default 'window' and 'slide' values to probably 4 and 2
- Brief change log
Lower default 'window' and 'slide' values in this example to 4 and 2
- Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
I tested the example with updated default values, and it now generates and prints output.
- Does this pull request potentially affect one of the following parts:
- Does this pull request introduce a new feature? (no)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bowenli86/flink
Alternatively you can review and apply these changes as the patch at:
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4662