Skip to content

Commit

Permalink
Added mising @DefaultBean annotation to KafkaConsumerFactory.
Browse files Browse the repository at this point in the history
  • Loading branch information
dartartem committed Jan 15, 2021
1 parent 195f581 commit e03c131
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
import javax.enterprise.inject.Produces;
import io.eventuate.messaging.kafka.basic.consumer.DefaultKafkaConsumerFactory;
import io.eventuate.messaging.kafka.basic.consumer.KafkaConsumerFactory;
import io.quarkus.arc.DefaultBean;

@ApplicationScoped
public class KafkaConsumerFactoryConfiguration {
@Produces
@DefaultBean
public KafkaConsumerFactory kafkaConsumerFactory() {
return new DefaultKafkaConsumerFactory();
}
Expand Down

0 comments on commit e03c131

Please sign in to comment.