class AccountEntityRepository {

    public AccountEntity findById(AccountEntity accountEntity) {
        AccountEntityEntity entity = accountEntityJdbcRepository
                .findById(new AccountEntityEntity().toEntity(accountEntity));
        return entity.toDomain();

    }

    @Autowired public  AccountEntityRepository(AccountEntityJdbcRepository accountEntityJdbcRepository,
                                   MastersQueueRepository accountEntityQueueRepository, FinancialConfigurationService financialConfigurationService,
                                   AccountEntityESRepository accountEntityESRepository, @Value("${persist.through.kafka}") String persistThroughKafka);

}