Create an ADLS Reader application
Create an ADLS Reader application using a wizard
In Striim, select Apps > Create New, enter Source: ADLS Reader in the search bar, click the kind of application you want to create, and follow the prompts. See Creating apps using wizards for more information.
Create an ADLS Reader application using TQL
The following are sample applications for ADLS Reader.
Sample application: Directory Listing mode
CREATE OR REPLACE APPLICATION ADLSTest; CREATE OR REPLACE SOURCE ADLS USING Global.ADLSReader ( ConnectionRetryPolicy: 'retryInterval=30, maxRetries=3', ClientId: '462aa6af-f03b-4653-a62f-cc7f8fcef931', adapterName: 'ADLSReader', AccountName: 'striimazuredatalakegen2', ClientSecret_encrypted: 'true', LogAnalyticsWorkspaceId: '1c83eabe-2c46-45aa-b6eb-0dab1bfa5c9f', ClientSecret: 'aqErBTZw00JbV4whoPKOPaD9nGQhCdaiAUW2c20baNszNsp/5MkvgEAGjkBKm+WB', TenantId: '71bfeed5-1905-43da-a4a4-49d8490731da', ObjectDetectionMode: 'ADLSDirectoryListing', PollingInterval: 5000, ObjectFilter: '*', Container: 'new-container', ProcessSubFolder: false, SubFolderPath: '' ) PARSE USING Global.JSONParser ( handler: 'com.webaction.proc.JSONParser_1_0', parserName: 'JSONParser' ) OUTPUT TO ADLSOut; CREATE TARGET Sysout USING Global.SysOut ( name: 'sysout' ) INPUT FROM ADLSOut;END APPLICATION ADLSTest;
Sample application: Log Analytics mode
CREATE OR REPLACE APPLICATION ADLSTest; CREATE OR REPLACE SOURCE ADLS USING Global.ADLSReader ( ConnectionRetryPolicy: 'retryInterval=30, maxRetries=3', ClientId: '462aa6af-f03b-4653-a62f-cc7f8fcef931', adapterName: 'ADLSReader', AccountName: 'striimazuredatalakegen2', ClientSecret_encrypted: 'true', LogAnalyticsWorkspaceId: '1c83eabe-2c46-45aa-b6eb-0dab1bfa5c9f', ClientSecret: 'aqErBTZw00JbV4whoPKOPaD9nGQhCdaiAUW2c20baNszNsp/5MkvgEAGjkBKm+WB', TenantId: '71bfeed5-1905-43da-a4a4-49d8490731da', ObjectDetectionMode: 'LogAnalytics', PollingInterval: 5000, ObjectFilter: '*', Container: 'new-container', ProcessSubFolder: false, SubFolderPath: '' ) PARSE USING Global.JSONParser ( handler: 'com.webaction.proc.JSONParser_1_0', parserName: 'JSONParser' ) OUTPUT TO ADLSOut; CREATE TARGET Sysout USING Global.SysOut ( name: 'sysout' ) INPUT FROM ADLSOut;END APPLICATION ADLSTest;