It seems that Thrift 0.19.0 is released and supports Java 8 again. ;-) https://github.com/apache/thrift/blob/master/CHANGES.md
Best, Haonan On 2023/08/04 10:01:39 Christofer Dutz wrote: > Ok … > > So, it turns out that the Thrift folks intentionally updated to Java 11 but > took that back and the next release should be based on Java 8 again. > So hopefully that will come soon and then we could have a look about > compatibility of the generated code. I guess if the wire-protocol didn’t > change there should generally be no reason for it to not be compatible, and > if they don’t release a major version, usually this compatibility should stay > intact (if they sort of follow SemVer) > > I guess the best path of action would be to do nothing right now … as an > alternative, we could of course turn on the Java compilation when building > thrift and to bundle the jar built by that in the assembly. > If we then replace the thrift-lib dependency with a “system” scope > dependency, we could already do that now. But admittedly I would not be in > favor of doing that. I would recommend for us to wait for the next official > release. > > Chris > > Von: Christofer Dutz <[email protected]> > Datum: Dienstag, 1. August 2023 um 08:29 > An: [email protected] <[email protected]> > Betreff: Re: [DISCUSS] Updating to a newer Thrift version? > I opened a ticket in their jira. Might even prepare a pr... Shouldn't be too > difficult. > > Chris > > Gesendet von Outlook für Android<https://aka.ms/AAb9ysg> > ________________________________ > From: 谭新宇 <[email protected]> > Sent: Monday, July 31, 2023 1:57:28 PM > To: [email protected] <[email protected]> > Subject: Re: [DISCUSS] Updating to a newer Thrift version? > > Hi, Chris > > In the latest version of thrift, there are some improvements we'd like to > make, For example, https://issues.apache.org/jira/browse/THRIFT-5502 will > down-cycled "connection reset" warn logs. > > +1 for upgrading thrift. > > > Thanks > ―――――――――――― > Xinyu Tan > > > 2023年7月31日 19:50,Christofer Dutz <[email protected]> 写道: > > > > Hi all, > > > > While working on the cleanup of the build, I noticed we’re working with > > Thrift in version 0.14.1 however the latest version is 0.18.1 > > > > Is there a reason we’re sticking to a two-year older version than the > > newest? > > > > If not: with the pom-cleanup refactoring it should be a thing of minutes to > > update this. > > > > Chris > > >
