Re: [discuss] nifi 2.0 and Java 21…

2023-09-06 Thread Chris Sampson
Yeah, I understand the need to move to 21 as a minimum to take advantage of its features. Hopefully the wider java ecosystem won't be an issue in the short term. I just wanted the discussion to be clear about this being a change to the Java baseline/minimum for NiFi 2.0. It's a +1 from me. On

Re: [discuss] nifi 2.0 and Java 21…

2023-09-06 Thread Joe Witt
Chris My suggestion is rooted in making Java 21 the minimum of the NiFi 2.0 line. It would not work on Java 17. The reason for this is so that we can leverage the longest duration of a given LTS line while also benefiting from the language improvements that affords. Maintaining compatibility

Re: [discuss] nifi 2.0 and Java 21…

2023-09-06 Thread Chris Sampson
To be clear, is the discussion one of making Java 21 the minimum requirement for NiFi 2.0.0, or rather NiFi 2.x be compatible with Java 21, while retaining Java 17 as a minimum? If we moved straight to a Java 21 requirement, will we run into compatibility issues that delay initial NiFi 2 release?

Re: [discuss] nifi 2.0 and Java 21…

2023-09-06 Thread Mike Thomsen
+1 100% On Wed, Sep 6, 2023 at 11:48 AM Adam Taft wrote: > Yes, please. +1 Exactly what Mark said. Virtual threads have potential to > be extremely impactful to applications like NiFi. > > /Adam > > On Wed, Sep 6, 2023 at 7:26 AM Mark Payne wrote: > > > Thanks for bringing his up, Joe. > > > >

Re: [discuss] nifi 2.0 and Java 21…

2023-09-06 Thread Adam Taft
Yes, please. +1 Exactly what Mark said. Virtual threads have potential to be extremely impactful to applications like NiFi. /Adam On Wed, Sep 6, 2023 at 7:26 AM Mark Payne wrote: > Thanks for bringing his up, Joe. > > I would definitely be a +1. I think the new virtual thread concept would >

Re: [discuss] nifi 2.0 and Java 21…

2023-09-06 Thread Mark Payne
Thanks for bringing his up, Joe. I would definitely be a +1. I think the new virtual thread concept would have great impact on us. It would allow us to significantly simplify our scheduling logic, which would help with code maintainability but would also make configuration simpler. This is one

Re: [discuss] nifi 2.0 and Java 21…

2023-09-06 Thread Joe Witt
Team Thought it might be worth relighting this thread with Java 21 GA imminent. Given the timing we should give consideration to having Java 21 as the basis for nifi 2.x to buy maximum time with LTS alignment. There are also a couple interesting language features we can likely take advantage of.