The new Date API is sure nice. Although, Joda-Time filled the gap quite
well.

Are there other dependencies other than jetty making the move? I don't know
jetty that well. Did the jetty community already have a debate?

Also, it is probably worth clarifying - is the requirement to run nifi in
Java 8 or to compile targeting Java 8? (for example, say I'm using a piece
of nifi, such as the nifi-expression-language without running nifi, can I
expect to use it in my project using Java 7)

Java 8 brings a LOT of language new features in (Stream API, Lambdas [1])
- should there be some project guidelines about using some of the new APIs?

[1]
http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html#use-case

On Tue, Jun 16, 2015 at 7:57 PM, Bobby Owolabi <[email protected]>
wrote:

> +1
>
> I think this move makes a lot sense.  I think Joe’s two arguments are very
> strong and some of the new language constructs can open up cool ways to
> enhance the developer experience with the framework (hat tip Adam).
>
> Bobby
>
> > On Jun 16, 2015, at 10:48 PM, Joe Witt <[email protected]> wrote:
> >
> > Created a JIRA for this:  https://issues.apache.org/jira/browse/NIFI-692
> >
> > Will keep it up to date if any gotchas come out of this discussion.
> >
> > On Tue, Jun 16, 2015 at 10:42 PM, Adam Taft <[email protected]> wrote:
> >> +1
> >>
> >> The Streams API and new Date API are worthy.  Would love to (eventually)
> >> see a ProcessSession method that can return a Stream<FlowFile>.
> >>
> >>
> >>
> >> On Tue, Jun 16, 2015 at 10:24 PM, Joe Witt <[email protected]> wrote:
> >>
> >>> All,
> >>>
> >>> Would like to kick off a discussion for thoughts on moving the minimum
> >>> Java requirement for NiFi to Java 8.  There are a two immediate
> >>> reasons that make this seem wise:
> >>>
> >>> 1) Java 7 EOL and specifically for security fixes
> >>>  https://www.java.com/en/download/faq/java_7.xml
> >>>
> >>> 2) Key dependencies moving to Java8
> >>>  https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00080.html
> >>>
> >>> Now, item 1 does not mean we must move our minimum to Java 8 but item
> >>> 2 does.  Java 8 offers some nice language enhancements which could be
> >>> quite useful within the framework.
> >>>
> >>> I propose we make this change happen in NiFi 0.3.x line.
> >>>
> >>> Thanks
> >>> Joe
> >>>
>
>

Reply via email to