GH-249: Add metadata-store to file-supplier (#251)
Fixes https://github.com/spring-cloud/stream-applications/issues/249 Currently, the metadata store is supported by remote files source (S3, ftp and sftp), but not by file source. There are cases where it is convenient to be able to use the metadata store with file source as well. * Add externally configured `ConcurrentMetadataStore` into `FileSupplierConfiguration` which is based on the auto-configuration provided by the `metadata-store-common` artifact * Test with an embedded JDBC store * Remove redundant dependencies in the file-supplier pom - supplied by the parent * Add `MetadataStoreProperties` to allow-list for dataflow * Fix typo in the `s3-supplier` README
This commit is contained in:
@@ -1,2 +1,10 @@
|
||||
configuration-properties.classes=org.springframework.cloud.fn.supplier.file.FileSupplierProperties,\
|
||||
org.springframework.cloud.fn.common.file.FileConsumerProperties
|
||||
org.springframework.cloud.fn.common.file.FileConsumerProperties, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties$Gemfire, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties$Redis, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties$DynamoDb, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties$Jdbc, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties$Zookeeper, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties$Mongo
|
||||
|
||||
|
||||
@@ -1,2 +1,10 @@
|
||||
configuration-properties.classes=org.springframework.cloud.fn.supplier.file.FileSupplierProperties,\
|
||||
org.springframework.cloud.fn.common.file.FileConsumerProperties
|
||||
org.springframework.cloud.fn.common.file.FileConsumerProperties, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties$Gemfire, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties$Redis, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties$DynamoDb, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties$Jdbc, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties$Zookeeper, \
|
||||
org.springframework.cloud.fn.common.metadata.store.MetadataStoreProperties$Mongo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user