845 B
845 B
Building the application locally
Once you installed the prerequisites and cloned the repository, run the following commands in your project directory:
Build a docker container with the app:
./mvnw clean install -Pprod
Start the app with Kafka clusters:
docker-compose -f ./documentation/compose/kafka-ui.yaml up -d
To see the app, navigate to http://localhost:8080.
If you want to start only kafka clusters (to run the app via spring-boot:run
):
docker-compose -f ./documentation/compose/kafka-clusters-only.yaml up -d
Then, start the app.
Building only the API
To build only the kafka-ui-api you can use this command:
./mvnw -f kafka-ui-api/pom.xml clean install -Pprod -DskipUIBuild=true
Where to go next
In the next section, you'll learn how to run the application.