Skip to content

qtips/spring-boot-kafka-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project involves Kafka consumer and producer, and Postgresql database and a rest-service

The tests demonstrate:

  1. Calling a rest service that adds a message to a (embedded) Kafka topic, where the message consumer writes to a postgresql database (setup using Testcontainers)
  2. Multithreaded usage of postgresql with Spring Data and JPA and locking of rows.

You need docker installed to run the tests.

TODO:

Simulate Kafka calls that result in errors in multithreaded environment to test different kinds of kafka settings and guarentees (e.g. exactly once vs at least once processing)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages