Package io.deephaven.kafka
Interface KafkaTools.StreamConsumerRegistrarProvider
- All Known Implementing Classes:
KafkaTools.StreamConsumerRegistrarProvider.PerPartition
,KafkaTools.StreamConsumerRegistrarProvider.Single
- Enclosing class:
- KafkaTools
public static interface KafkaTools.StreamConsumerRegistrarProvider
Marker interface for
StreamConsumer
registrar provider objects.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
static interface
-
Method Summary
Modifier and TypeMethodDescriptionperPartition
(@NotNull KafkaTools.PerPartitionConsumerRegistrar registrar) single
(@NotNull KafkaTools.SingleConsumerRegistrar registrar) <T> T
-
Method Details
-
single
static KafkaTools.StreamConsumerRegistrarProvider.Single single(@NotNull @NotNull KafkaTools.SingleConsumerRegistrar registrar) - Parameters:
registrar
- The internal registrar method forStreamConsumer
instances- Returns:
- A StreamConsumerRegistrarProvider that registers a single consumer for all selected partitions
-
perPartition
static KafkaTools.StreamConsumerRegistrarProvider.PerPartition perPartition(@NotNull @NotNull KafkaTools.PerPartitionConsumerRegistrar registrar) - Parameters:
registrar
- The internal registrar method forStreamConsumer
instances- Returns:
- A StreamConsumerRegistrarProvider that registers a new consumer for each selected partition
-
walk
-