![]() Using Bootstrap’s compiled distribution files or jsDelivr so you can add onto or override Bootstrap’s styles.Using Bootstrap via package manager so you can use and extend our source files.Your best path can depend on your project, the complexity of your build tools, the version of Bootstrap you’re using, browser support, and more. There are multiple ways to customize Bootstrap. To run the sample make sure you have installed Docker and Docker Compose for your OS.Optimize Keep your projects lean, responsive, and maintainable so you can deliver the best experience. Running all the docker containers together To compile and package the jar file and create a docker image, run the following commands shown below: mvn package mv target /*.jar app.jar docker build -t spring-kafka-registry. Package the Spring Boot jar and create the docker image The two important sections that help in making the magic happen are the Spring Kafka related dependencies and the Avro related dependencies as shown below : spring-kafka $) producer.flush() producer.close(). ![]() Let’s open the pom.xml file and look at the maven dependencies that are particularly important in this sample. Download and install Docker and Docker Compose for your OS.Ĭlone this repo to your machine and change directory to spring-kafka-registry. All of our microservices and infrastructure components will be dockerized and run using docker-compose. For this tutorial we will be using the open source components of confluent platform. In our sample application we will build a Spring Boot microservice that produces messages and uses Avro to serialize and push them into Kafka.
0 Comments
Leave a Reply. |