Nakul
Nakul
Have a look [here](https://github.com/nklmish/AxonFramework/blob/master/kafka/src/main/java/org/axonframework/kafka/eventhandling/producer/KafkaPublisher.java#L120) while sending an event to Kafka, current unit of work is taken into consideration providing we have transactional kafka producer.
> For me it doesn't guarantee anything. I am not sure what sort of guarantees are we referring here, please note that Kafka and Postgre transaction are two distinct transactions,...
> So now consider the case where you can commit to Kafka and then you can not commit to PostgreSQL, there is an inconsistency between the two stores That's why...
@ghilainm Thanks for creating the issue, the autoconfiguration should be fixed via [PR-765](https://github.com/AxonFramework/AxonFramework/pull/765), for more details, please refer to [this](https://github.com/AxonFramework/AxonFramework/issues/717#issuecomment-417266938)