Data Flow Shell provides options to use commands to configure streams and other things in Spring Data Flow Server.
Let's use Spring Initializr (https://start.spring.io) to set up the application. Provide the details listed here and click on Generate Project:
- Group: com.mastering.spring.cloud.data.flow
- Artifact: data-flow-shell
- Dependencies: Data Flow Shell
Listed here are some of the important dependencies from the pom.xml file:
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dataflow-shell</artifactId> </dependency>
Update the SpringBootApplication file with the following code:
@EnableDataFlowShell @SpringBootApplication public class DataFlowShellApplication { public ...