The Quickstart Archetype serves as a template for a Flink streaming application. You
can use the Archetype to add source, sink and computation to the template. Like this you can
practice the development of a simple Flink application, or use the Archetype as the starting
point for a more complex application including state,watermark and checkpoint.
The Flink quickstart archetype can be used to quickly build a basic Flink streaming
project.
Perform the following commands to create the archetype locally:
git clone https://github.com/cloudera/flink-tutorials
cd flink-tutorials
cd flink-quickstart-archetype
mvn clean install
cd ..
The following entry should be seen in your local catalog:
Provide basic information about the streaming application.
You can choose to customize configurations yourself or use automatically
generated information.
To use automatically generated information, press Enter.
If you choose to customize configuration, set the following
properties:
Define value for property 'groupId': com.cloudera.flink
Define value for property 'artifactId': sample-project
Define value for property 'version' 1.0-SNAPSHOT: :
Define value for property 'package' com.cloudera.flink: :
Confirm properties configuration:
groupId: com.cloudera.flink
artifactId: sample-project
version: 1.0-SNAPSHOT
package: com.cloudera.flink
Y: :