Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 597 Bytes

README.MD

File metadata and controls

10 lines (7 loc) · 597 Bytes

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)