My function stores data up Azure Data Lakta Storage Gen 1. But I got bug
An error occurred while sending the request.When I investigated,I knowed that my connection in azure function overcome 8k then it's broken. Here is my code(Append to file Azure DataLakeStorage Gen 1)
//This for authorizing azure data lake storage gen 1
await InitADLInfo(adlsAccountName);
DataLakeStoreFileSystemManagementClient _adlsFileSystemClient;
//Here is my code to append data lake storage gen 1
using (var stream = new MemoryStream(Encoding.UTF8.GetBytes(buffer)))
{
await _adlsFileSystemClient.FileSystem.AppendAsync(_adlsAccountName, path, stream);
}
How to dispose that when every append ends. I try to dispose
_adlsFileSystemClient.Dispose();
But it didn't dispose anything.My connection will up.