Skip to content

The goal of this project is to create two applications: one as a Spring Boot producer and the other as a Spring Boot consumer. We'll be using Spring for Apache Kafka and Spring Cloud Stream.

Notifications You must be signed in to change notification settings

ivangfr/spring-cloud-stream-kafka-multi-topics

Repository files navigation

spring-cloud-stream-kafka-multi-topics

The goal of this project is to create two applications: one as a Spring Boot producer and the other as a Spring Boot consumer. We'll be using Spring for Apache Kafka and Spring Cloud Stream.

Similar projects are: spring-kafka-de-serialization-types and spring-cloud-stream-kafka-elasticsearch.

Proof-of-Concepts & Articles

On ivangfr.github.io, I have compiled my Proof-of-Concepts (PoCs) and articles. You can easily search for the technology you are interested in by using the filter. Who knows, perhaps I have already implemented a PoC or written an article about what you are looking for.

Additional Readings

Examples

Prerequisites

Start Environment

  • Open a terminal and inside spring-cloud-stream-kafka-multi-topics root folder run:

    docker compose up -d
    
  • Wait for Docker containers to be up and running. To check it, run:

    docker compose ps
    
  • Create the Kafka topics used by the applications:

    ./create-kafka-topics.sh
    

Useful Links

Shutdown

To stop and remove docker compose containers, network and volumes, go to a terminal and, inside spring-cloud-stream-kafka-multi-topics, run the command below:

docker compose down -v

Cleanup

To remove the Docker images created by this project, go to a terminal and, inside spring-cloud-stream-kafka-multi-topics root folder, run the following script:

./remove-docker-images.sh

About

The goal of this project is to create two applications: one as a Spring Boot producer and the other as a Spring Boot consumer. We'll be using Spring for Apache Kafka and Spring Cloud Stream.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published