Class FileCheckpointStateStore.Factory
- java.lang.Object
-
- io.smallrye.reactive.messaging.kafka.commit.FileCheckpointStateStore.Factory
-
- All Implemented Interfaces:
CheckpointStateStore.Factory
- Enclosing class:
- FileCheckpointStateStore
@ApplicationScoped @Identifier("file") public static class FileCheckpointStateStore.Factory extends Object implements CheckpointStateStore.Factory
-
-
Constructor Summary
Constructors Constructor Description Factory(javax.enterprise.inject.Instance<ProcessingStateCodec.Factory> stateCodecFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckpointStateStore
create(KafkaConnectorIncomingConfiguration config, io.vertx.mutiny.core.Vertx vertx, KafkaConsumer<?,?> consumer, Class<?> stateType)
CreateCheckpointStateStore
instance for the given channel
-
-
-
Constructor Detail
-
Factory
@Inject public Factory(@Any javax.enterprise.inject.Instance<ProcessingStateCodec.Factory> stateCodecFactory)
-
-
Method Detail
-
create
public CheckpointStateStore create(KafkaConnectorIncomingConfiguration config, io.vertx.mutiny.core.Vertx vertx, KafkaConsumer<?,?> consumer, Class<?> stateType)
Description copied from interface:CheckpointStateStore.Factory
CreateCheckpointStateStore
instance for the given channel- Specified by:
create
in interfaceCheckpointStateStore.Factory
- Parameters:
config
- the channel configvertx
- the vert.x instanceconsumer
- the Kafka consumerstateType
- the type of the persisted state, can be null- Returns:
- the created state store instance
-
-