It's really not a good idea to use jdk 1.6 to rebuild the jar file. There can always but jdk 1.7 only features that are used in the code that won't play nicely with jdk 1.6. As Tom mentioned, you should really be looking at moving off of jdk 1.6 before looking at upgrading anything else in your environment. Even if it seems to work now, there's no guarantees of future functionality. In case you missed it, here is the doc <http://kafka.apache.org/documentation.html#java> on what java versions you should be using.
On Wed, May 4, 2016 at 2:02 AM, Flybean <flybean.z...@gmail.com> wrote: > So, is it possible that clients(producer/consumer) using 0.8 and 0.9 > together with the same 0.9 brokers? > More, it seems that the need for Jdk 7+ is Scala(which kafka is built on). > But 0.9 provides pure java Consumer/Producer(although just beta). So, is it > OK to rebuild jar file using jdk 1.6 ? > > Thanks > -- Dustin