Class DefaultKafkaConsumerConfiguration<K,V>

Type Parameters:
K - The key deserializer type
V - The value deserializer type
All Implemented Interfaces:
io.micronaut.core.util.Toggleable

@Requires(missingProperty="kafka.consumers.default") @Requires(beans=KafkaDefaultConfiguration.class) @Primary @Prototype public class DefaultKafkaConsumerConfiguration<K,V> extends AbstractKafkaConsumerConfiguration<K,V>
Default Kafka consumer configuration that comes into play if no other config is specified.
Since:
1.0
Author:
Graeme Rocher
  • Constructor Details

    • DefaultKafkaConsumerConfiguration

      @Inject public DefaultKafkaConsumerConfiguration(KafkaDefaultConfiguration defaultConfiguration)
      Construct a new KafkaConsumerConfiguration for the given defaults.
      Parameters:
      defaultConfiguration - The default configuration
    • DefaultKafkaConsumerConfiguration

      public DefaultKafkaConsumerConfiguration(AbstractKafkaConfiguration defaultConfiguration)
      Construct a new KafkaConsumerConfiguration for the given defaults.
      Parameters:
      defaultConfiguration - The default configuration