findtheflow / Feedback

Issue and feature tracker for Flow
http://findtheflow.io
16 stars 0 forks source link

Flow not working with applications running on JDK 1.6 #35

Open ravi4j opened 6 years ago

ravi4j commented 6 years ago

I guess Kafka required JDK 6+ but my application required JDK 6. Caused by: java.lang.UnsupportedClassVersionError: com/flow/shaded/org/apache/kafka/common/serialization/StringSerializer : unsupported classversion 51.0

Is there any way to resolve this issue?

YoannBuch commented 6 years ago

Flow requires applications to be run with java 1.7+. This is because we're using a kafka library that requires 1.7+.

We used to support 1.6+ using when we used an older version of that library but we had to get a newer version to fix important bugs.

We could support 1.6+ if we used the REST proxy for Kafka instead. This is quite a change so I don't expect it to happen in the near future.

In the meantime, the best option is for you to run your app with java 7, if possible...