Joule CLI
Joule ships with a Command Line Interface (CLI) for running your Joule project. To use the CLI your workflow generally looks like this:
- 1.Define your use case using the Joule DSL
- 2.Develop custom components within an IDE and test them locally, if required
- 3.Define the required data sources and sinks using Joule DSL
- 4.Run your use case from the command line
java -cp "./lib/*" com.fractalworks.streams.joule.JouleCLI \
-s eventSource.yaml \
-e usecase.yaml \
-p publishSinks.yaml
The CLI has a few command line arguments to run the Joule process.
Required
-s or --source
for data source file-u or --usecase
for stream processing use case file-p or --publish
for event sinks file
Optional
-c or --config
for custom Joule process configuration file-r or --refdata
for reference data sources file
- OpenJDK 19+ to run the platform
Within the example repository, we have provided a bash script for additional functionality. Check the README.MD for further information