Interface CheckpointStateStore.Factory
- All Known Implementing Classes:
FileCheckpointStateStore.Factory
- Enclosing interface:
- CheckpointStateStore
public static interface CheckpointStateStore.Factory
Factory interface for
CheckpointStateStore-
Method Summary
Modifier and TypeMethodDescriptioncreate(KafkaConnectorIncomingConfiguration config, io.vertx.mutiny.core.Vertx vertx, KafkaConsumer<?, ?> consumer, Class<?> stateType) CreateCheckpointStateStoreinstance for the given channel
-
Method Details
-
create
CheckpointStateStore create(KafkaConnectorIncomingConfiguration config, io.vertx.mutiny.core.Vertx vertx, KafkaConsumer<?, ?> consumer, Class<?> stateType) CreateCheckpointStateStoreinstance for the given channel- 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
-