Re: running kafka/zookeeper running locally

2015-04-21 Thread Maciej Jaśkowski
I creatively reused this code to have embedded kafka and zookeeper working for test purposes: https://github.com/apache/samza/blob/master/samza-test/src/test/scala/org/apache/samza/test/integration/TestStatefulTask.scala Works like a charm! MJ On 20 April 2015 at 10:29, sunil kalva wrote: > Wa

Re: running kafka/zookeeper running locally

2015-04-20 Thread sunil kalva
Warren I am looking into "https://gist.github.com/asmaier/6465468";, its not compiling in my box, i am using kafak-0.8.2.1, and i am using testng java code for writing my test cases. On Mon, Apr 20, 2015 at 11:33 AM, Warren Henning wrote: > Also consider with whether you could get away with moc

Re: running kafka/zookeeper running locally

2015-04-19 Thread sunil kalva
Kjeltore Is is possible to share you code base for doing this ? On Mon, Apr 20, 2015 at 12:04 PM, Kjell Tore Fossbakk wrote: > I run Kafka and Zookeeper embedded inside my setup phase when running junit > 4.x tests. > 20. apr. 2015 08:04 skrev "Warren Henning" : > > > Also consider with whether

Re: running kafka/zookeeper running locally

2015-04-19 Thread Kjell Tore Fossbakk
I run Kafka and Zookeeper embedded inside my setup phase when running junit 4.x tests. 20. apr. 2015 08:04 skrev "Warren Henning" : > Also consider with whether you could get away with mocking out the Kafka > broker, depending on what/how you like to test. > > On Sun, Apr 19, 2015 at 10:47 PM, sun

Re: running kafka/zookeeper running locally

2015-04-19 Thread Warren Henning
Also consider with whether you could get away with mocking out the Kafka broker, depending on what/how you like to test. On Sun, Apr 19, 2015 at 10:47 PM, sunil kalva wrote: > Hi > Any one tried running zookeeper and kafka locally , which can be useful for > automating the test cases for API bui

Re: running kafka/zookeeper running locally

2015-04-19 Thread Ashutosh Kumar
I have installed on local instance of ubuntu and it works fine. On Mon, Apr 20, 2015 at 11:17 AM, sunil kalva wrote: > Hi > Any one tried running zookeeper and kafka locally , which can be useful for > automating the test cases for API built on kafka ? > > SunilKalva >

running kafka/zookeeper running locally

2015-04-19 Thread sunil kalva
Hi Any one tried running zookeeper and kafka locally , which can be useful for automating the test cases for API built on kafka ? SunilKalva