Azure / Azure/azure-sdk-for-java
Endpoint URLs for Blob and Dfs
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 2.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 178
Description
**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
Contributor guide
Assessment
This issue has not been assessed yet.