on ‎2020 Sep 28 6:35 PM
Sap commerce cloud hot folder local setup is done and file is being picked but not processed as as didn't match any configurations
INFO [AzureIntegrationTaskExecutorThread-master-1] [LoggingMonitorRecorder] HOT_FOLDER:base_product-en-000001.csv1601284653000 Status [IN_PROGRESS]
Step [DOWNLOADED] Node [0] Status [SUCCESS] Started [2020-09-28T14:47:33.461+05:30] Ended [2020-09-28T14:47:33.466+05:30] Duration [5]ms Message [Successfully read blob [master/hot_folder/base_product-en-000001.csv] of size [178 bytes]] Actions [none]
WARN [AzureIntegrationTaskExecutorThread-master-1] [LoggingMonitorRecorder] HOT_FOLDER:base_product-en-000001.csv1601284653000 Status [WARNING]
Step [DOWNLOADED] Node [0] Status [SUCCESS] Started [2020-09-28T14:47:33.461+05:30] Ended [2020-09-28T14:47:33.466+05:30] Duration [5]ms Message [Successfully read blob [master/hot_folder/base_product-en-000001.csv] of size [178 bytes]] Actions [none]
Step [FILE_ROUTED] Node [0] Status [FAILURE] Started [null] Ended [null] Duration [null]ms Message [File [base_product-en-000001.csv] modified [1601284653000] was not routed as didn't match any configurations] Actions [none]
Request clarification before answering.
HI x1111111111
This comes from stackoverflow.com and addresses the same topic.
Try using the following properties to set the desired behavior of the system:
<code>cluster.node.groups=integration,yHotfolderCandidate
azure.hotfolder.storage.account.connection-string=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:32770/devstoreaccount1;
azure.hotfolder.storage.container.hotfolder=${tenantId}/your/path/here
cloud.hotfolder.default.mapping.file.name.pattern=^(customer|product|url_media|sampleFilePattern|anotherFileNamePattern)-\\d+.*
cloud.hotfolder.default.images.root.url=http://127.0.0.1:32785/devstoreaccount1/${azure.hotfolder.storage.container.name}/master/path/to/media/folder
cloud.hotfolder.default.mapping.header.catalog=YourProductCatalog
And that is it, if there are existing routings for traditional hot folder import, these can also be used but their mappings should be in the value of
<code>cloud.hotfolder.default.mapping.file.name.pattern
Kindly advise if that addressed your topic.
Cheers,
Luis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi luedazfr1
Thanks for suggestion. I already had these properties but was missing below 2 properties
cloud.hotfolder.default.mapping.file.name.pattern=^(ww_product|base_product|customer|product|url_media)-\\d+.*
cloud.hotfolder.default.mapping.header.catalog=wwProductCatalogAny idea how can we manage multiple catalogs with this ?
Currently all files are creating data under wwProductCatalog only
May be because of cloud.hotfolder.default.mapping.header.catalog
How can manage multiple catalog for cloud hot folder ?
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.