When everything is put together, the following commands can be used to start Apache Kafka, Image Resize Request Producer, and Image Resize Request Consumer.
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