kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie Wang <jamie.w...@actuate.com>
Subject RE: Running Kafka on Windows?
Date Wed, 05 Dec 2012 21:44:42 GMT
I am happy to report after I download from the 7.2 trunk. I was able to run kafka following
the quickstart on Windows without any major problem.  Kudos to you all. Good job!!

A minor issue, if you run the commands from Kafka top level directory like this:
bin\kafka-console-producer.bat --zookeeper localost:2181 --topic test

You'll get below error complaining it can't find kafka-run-class.bat.
'kafka-run-class.bat' is not recognized as an internal or external command, operable program
or batch file.

Instead go to the bin directory and run the commands or modify the .bat file to include the
path to the run-class .bat.


Jamie

-----Original Message-----
From: Jamie Wang [mailto:jamie.wang@actuate.com] 
Sent: Wednesday, December 05, 2012 12:33 PM
To: users@kafka.apache.org
Subject: RE: Running Kafka on Windows?

Thanks for all the replies. I downloaded the 0.72 source as you mentioned below. My question
is what does the patch do? Can I download the patch and apply to 0.72 source? 

Jamie

-----Original Message-----
From: Antoine Vianey [mailto:antoine.vianey@gmail.com] 
Sent: Tuesday, December 04, 2012 11:01 PM
To: users@kafka.apache.org
Subject: Re: Running Kafka on Windows?

I ported them for both 7.2 and 8.0 but the patch was only commited for the
8.0 branch.
You can find the 7.2 scripts here :
https://github.com/avianey/kafka/tree/0.7.2


2012/12/5 Johan Lundahl <johan.lundahl@gmail.com>

> I've been testing 0.72 successfully on windows but converted the start
> scripts myself. The only trap I ran into was forgetting to convert the
> .properties files to use unix style line breaks after editing them in a win
> editor.
>
> Johan
>
>
> On Wed, Dec 5, 2012 at 6:21 AM, Jun Rao <junrao@gmail.com> wrote:
>
> > The windows scripts are only in the 0.8 branch. Not sure if they work for
> > the 0.72 release, but you can give it a try.
> >
> > Thanks,
> >
> > Jun
> >
> > On Tue, Dec 4, 2012 at 4:59 PM, Jamie Wang <jamie.wang@actuate.com>
> wrote:
> >
> > > Hi,
> > >
> > > I read the literature somewhere that the windows platform is supported
> > for
> > > running kafka. But I didn't find any *.bat command files in the 0.72
> > > release I downloaded. I searched the net and found one entry:
> > >
> >
> https://github.com/apache/kafka/commit/ddbedd5214a3e43afedb51ace71b783751ec8434for" provides
windows batch script for starting Kafka/Zookeeper; patched
> > > b...".   Is this the one I should download and use to run Kafka on
> > Windows?
> > >  Can someone please point me to the right direction?  Thanks for your
> > help.
> > >
> > > Jamie
> > >
> >
>

Mime
View raw message