GitHub user BaurzhanSakhariev deleted a comment on the discussion: 
BlockCountExceedsLimit on azblob when uploading large files

>I can patch OperatorOutputStream

Hm, MAX_BYTES is private and used across public methods, in order to have a 
custom chunk size I need to copy the whole implementation (which is fine for an 
interim solution). Delegate is not an option as it will use hardcoded 16KiB.

To create a copy, I also need to copy a constructor with 
`final long op = operator.nativeHandle ` which doesn't work as it's not public.

I looked at public API (including duplicate) but didn't find a way to get a 
`nativeHandle` so that I can expose it and further create custom copy. 

Is there public API to get the `nativeHandle` (maybe I missed it)? 

UPD: I think I can use reflection for now to provide a custom value.

Opened a feature request: https://github.com/apache/opendal/issues/5421

GitHub link: 
https://github.com/apache/opendal/discussions/5420#discussioncomment-11598514

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to