Re: [PROPOSAL] Add ThrottledOutputStream to Commons IO
Gary Gregory <[email protected]> Fri, 10 Apr 2026 13:56:31 -0400
| Newsgroups | gmane.comp.jakarta.commons.devel |
|---|---|
| Message-ID | <CACZkXPyEFZ+czfjYz6numj7GKSLQYVw6P+PknQZZ864ZXDbQUA@mail.gmail.com> |
Hello Vithor, Gi for it. Gary On Fri, Apr 10, 2026, 12:32 Vithor <[email protected]> wrote: > Hi everyone, > > I noticed that Commons IO has a ThrottledInputStream, but it does not > contain a corresponding ThrottledOutputStream. > > Other projects like Apache Spark have a class that does this ( > RateLimitedOutputStream), but I really don't want to include massive > frameworks in my dependencies just to use a utility IO class that feels > like a natural fit for Commons IO. > > Since the input side is already supported, would the team be open to adding > ThrottledOutputStream? If there is interest, I'd be happy to develop it and > submit a PR. > > Thanks, > > Vithor Pileco >