question

DeepanshiSingh-5889 avatar image
0 Votes"
DeepanshiSingh-5889 asked SaurabhSharma-msft commented

ADF Event based trigger not working for ADLS Gen 2 : when a file is manually uploaded or moved via adf pipeline or logic app trigger is working fine but when file is being moved via java code trigger is not working

I am using azure data factory where I have configured an event based trigger pointing to ADLS Gen 2 storage. The trigger expects a file to end with Completed-DS001_01.csv ("Blob Path Ends With") in the file location specified in
"Blob Path Begins With".
When a file (having filename as Completed-DS001_01.csv) is manually uploaded or moved via pipeline or logic app to the specified folder location, the trigger is working as expected but when the file having filename
Completed-DS001_01.csv is being placed by some java code (code is written in some different resource) the trigger is not working.







azure-data-factoryazure-data-lake-storage
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@deepanshisingh-5889 Thanks for using Microsoft Q&A !!

Is your custom code using Azure Data Lake Storage Gen2 REST API ? If yes, can you please verify if your custom code using the CreateFile and FlushWithClose operations that are available in the Azure Data Lake Storage Gen2 REST API ?
If you are writing your own custom logic then we might need to check your code logic.

Please refer to the thread

0 Votes 0 ·

Hi @SaurabhSharma-msft Thanks for your reply,

I have a script written in java (jdk version 1.8, spring version 2.3.4) and using azcopy (version v10) to move the file to the required trigger location.


0 Votes 0 ·

@deepanshisingh-5889 Thanks for sharing. I am checking on this and get back to you.

0 Votes 0 ·
Show more comments

0 Answers