@Singleton
public class BatchConsumerRecordsBinderRegistry
extends java.lang.Object
implements io.micronaut.core.bind.ArgumentBinderRegistry<org.apache.kafka.clients.consumer.ConsumerRecords<?,?>>
ConsumerRecords
instance.Constructor and Description |
---|
BatchConsumerRecordsBinderRegistry(ConsumerRecordBinderRegistry consumerRecordBinderRegistry)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
<T> java.util.Optional<io.micronaut.core.bind.ArgumentBinder<T,org.apache.kafka.clients.consumer.ConsumerRecords<?,?>>> |
findArgumentBinder(io.micronaut.core.type.Argument<T> argument,
org.apache.kafka.clients.consumer.ConsumerRecords<?,?> source) |
public BatchConsumerRecordsBinderRegistry(ConsumerRecordBinderRegistry consumerRecordBinderRegistry)
consumerRecordBinderRegistry
- The wrapped ConsumerRecordBinderRegistry
public <T> java.util.Optional<io.micronaut.core.bind.ArgumentBinder<T,org.apache.kafka.clients.consumer.ConsumerRecords<?,?>>> findArgumentBinder(io.micronaut.core.type.Argument<T> argument, org.apache.kafka.clients.consumer.ConsumerRecords<?,?> source)
findArgumentBinder
in interface io.micronaut.core.bind.ArgumentBinderRegistry<org.apache.kafka.clients.consumer.ConsumerRecords<?,?>>