-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Endpoint URLs for Blob and Dfs #49781
Copy link
Copy link
Open
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.StorageStorage Service (Queues, Blobs, Files)Storage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.StorageStorage Service (Queues, Blobs, Files)Storage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Fields
No fields configured for issues without a type.
Problem description
Hi, in our usecase we need to send data from our on premise java services to azure storage account. We do this using DataLakeServiceClient from your java SDK. Because of security reasons our outbound traffic has to go over proxy URL. We provide this URL simply using
DataLakeServiceClient serviceClient = new DataLakeServiceClientBuilder()
.endpoint('https://proxy.url')
.credential(....)
.buildClient();
The problem is, your SDK uses in fact 2 URLs. One for dfs, one for blob and unfortunately it simply replaces '.dfs.' occurence with '.blob.'
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeServiceClientBuilder.java#L162-L163
Our proxy domains are not very configurable and thus do not contain '.dfs.' subdomain. Additionally routing based on HTTP URL context is also not possible.
Proposed solution
We would like to have the possibility to set the URLs for dfs and blob endpoints separately