I tried both 1.8.0_66 and 1.7.0_80 on IntelliJ and they worked fine. I'm
wondering if it is a specific issue for Eclipse?

Guozhang

On Tue, Oct 24, 2017 at 2:27 PM, Vishal Shukla <shukl...@gmail.com> wrote:

> Hi Guozhang,
> I am using jdk1.7.0_45 on Mac.
> (Eclipse 4.7.1a )
>
> As per Kafka documentation Java 7 is recommended , so was thinking this
> version should be good.
>
> Could this be eclipse related error ?
>
>
>
>
>
>
>
> On Tue, Oct 24, 2017 at 4:28 PM, Ted Yu <yuzhih...@gmail.com> wrote:
>
> > JDK 1.8.0_91
> >
> > Cheers
> >
> > On Tue, Oct 24, 2017 at 1:23 PM, Guozhang Wang <wangg...@gmail.com>
> wrote:
> >
> > > Hmm.. which Java version were you using?
> > >
> > >
> > > Guozhang
> > >
> > > On Tue, Oct 24, 2017 at 1:09 PM, Ted Yu <yuzhih...@gmail.com> wrote:
> > >
> > > > This should fix what you observed:
> > > >
> > > > https://github.com/apache/kafka/pull/4127
> > > >
> > > > On Tue, Oct 24, 2017 at 12:21 PM, Vishal Shukla <shukl...@gmail.com>
> > > > wrote:
> > > >
> > > > > Hi All,
> > > > > I took latest source code from kafka git repo and tried to setup my
> > > local
> > > > > env. in Eclipse.
> > > > > I am getting a compilation error in 1 file in streams project.
> > > > >
> > > > > Specifically in file *KStreamImpl.java on line 157*
> > > > >
> > > > >
> > > > > *Type mismatch: cannot convert from KeyValue<capture#27-of ?
> extends
> > > > K1,V>
> > > > > to KeyValue<K1,V>*
> > > > >
> > > > > Is this my local environment issue  ?
> > > > > Please advise.
> > > > >
> > > > > [image: Inline image 1]
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > -- Guozhang
> > >
> >
>



-- 
-- Guozhang

Reply via email to