I could not make spring-cloud-stream-binder-kafka work for following use case:
Start @transaction (Rest controller) DB update/inserts Send Kafka message
Before the transaction has committed, the consumer (configured with @EnableBinding and @StreamListener) is able to read the records. This consumer is already configured with read_committed isolation level.
I'm not sure is it an issue or any configuration from my side.
Tried to configure the bean, ChainedTransactionManager, but had some other problems.