eventuate-tram / eventuate-tram-core

Transactional messaging for microservices
Other
1.05k stars 186 forks source link

A service that consumes without producing: No qualifying bean of type 'io.eventuate.common.jdbc.EventuateJdbcStatementExecutor' available #184

Open cer opened 2 years ago

cer commented 2 years ago

See https://github.com/eventuate-examples/eventuate-tram-examples-perf-test/blob/cb06a7fbc4bcd5353b243fcadf6d1a8679007133/consumer/src/main/java/io/eventuate/tram/examples/performance/subscriber/ConsumerMain.java#L18

The service uses SqlTableBasedDuplicateMessageDetector via "io.eventuate.tram.core:eventuate-tram-spring-consumer-jdbc"

Solution: TramConsumerJdbcAutoConfiguration should @Import(EventuateCommonJdbcOperationsConfiguration.class)