Skip to content

gpando/spring-kafka-transactional-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What this project needs to run:

  1. Kafka on localhost:9092
  2. postgresql on localhost:5432

(docker compose in /docker)

How to reproduce the issue:

  1. Start the project

  2. curl http://localhost:8080/test-ok
    (new record in DB y kafka -> ok)

  3. STOP kafka

  4. curl http://localhost:8080/test-ok
    (new record in DB!! -> not ok)

  • Expected result after step 3: is no records to be found in DB (and Kafka). Everything should be rollback.
  • Actual result: there are new record in DB.

About

test kafka transactional

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages