Re: running kafka/zookeeper running locally

2015-04-22 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

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 warren.henn...@gmail.com wrote: Also consider with whether you

Re: running kafka/zookeeper running locally

2015-04-20 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 kalva.ka...@gmail.com wrote: Hi Any one tried running zookeeper and kafka locally , which can be useful for automating the

Re: running kafka/zookeeper running locally

2015-04-20 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 warren.henn...@gmail.com: 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,

Re: running kafka/zookeeper running locally

2015-04-20 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 kjellt...@gmail.com 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

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

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 kalva.ka...@gmail.com 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