content: package io.vividcode.happyride.triphistoryservice;
  
  import io.eventuate.tram.consumer.common.DuplicateMessageDetector;
  import io.eventuate.tram.consumer.common.NoopDuplicateMessageDetector;
  import io.eventuate.tram.spring.consumer.kafka.EventuateTramKafkaMessageConsumerConfiguration;
  import io.vividcode.happyride.triphistoryservice.messagehandlers.TripHistoryServiceMessageHandlersConfiguration;
  import org.springframework.context.annotation.Bean;
  import org.springframework.context.annotation.Configuration;
  import org.springframework.context.annotation.Import;
  import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
  import org.springframework.transaction.annotation.EnableTransactionManagement;
  
  @Configuration
  @EnableJpaRepositories
  @EnableTransactionManagement
  @Import({TripHistoryServiceMessageHandlersConfiguration.class,
      EventuateTramKafkaMessageConsumerConfiguration.class})
  public class ApplicationConfig {
  
    @Bean
    public DuplicateMessageDetector duplicateMessageDetector() {
      return new NoopDuplicateMessageDetector();
    }
  }
  