When everything is put together, the following commands can be used to start Apache Kafka, the User Registration microservice, and the Email Formatter consumers.
There are several ways to run a Spring Boot application, and some of them are mentioned here:
- Running the Spring Boot application main class using an IDE
- Building a JAR or WAR file using the following Maven command and then running it