Repository navigation
Should ICompressionProvider be dropped and replaced by commons-compress abstraction? #9191
rmannibucau
started this conversation in
General
Replies: 1 comment 7 replies
|
Romain, it's just a plugin interface. You can add whichever library or class you like. The intent of the So wrap whichever compression provider in that interface, paint the class with the annotation, and it becomes available where needed. |
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have a dumb need to compress a file using zstd (I can detail the underlying need if it helps but skipping for now), issue is that with current abstraction in Apache Hop it requires a custom plugin.
My idea is to use commons-compress as primary API and support so we get all the supported formats almost for free which more or less cover all the possible public formats.
Any reason it is not already done?
Alternatively a generic commons-compress format can be a workaround - while it is built- in.
Side note: I'm ok adding jars/libs, I'm just trying to not have to code for that need of extensibility of format/better coverage.
edit: current workaround for future readers:
All reactions