Class AzureBlobCheckpointStoreConfiguration
java.lang.Object
com.azure.spring.cloud.autoconfigure.eventhubs.AzureBlobCheckpointStoreConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass({com.azure.messaging.eventhubs.checkpointstore.blob.BlobCheckpointStore.class,com.azure.messaging.eventhubs.EventHubClientBuilder.class})
@ConditionalOnProperty(prefix="spring.cloud.azure.eventhubs.processor.checkpoint-store",
name={"container-name","account-name"})
public class AzureBlobCheckpointStoreConfiguration
extends Object
Configures a
BlobCheckpointStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe defaultBlobCheckpointStoreContainerInitializer
to create the storage blob if not exists.
-
Constructor Details
-
AzureBlobCheckpointStoreConfiguration
public AzureBlobCheckpointStoreConfiguration()
-
-
Method Details
-
blobCheckpointStoreContainerCreationInitializer
@Bean @ConditionalOnProperty(value="spring.cloud.azure.eventhubs.processor.checkpoint-store.create-container-if-not-exists", havingValue="true") public BlobCheckpointStoreContainerInitializer blobCheckpointStoreContainerCreationInitializer()The defaultBlobCheckpointStoreContainerInitializer
to create the storage blob if not exists.- Returns:
- the default
BlobCheckpointStoreContainerInitializer
.
-