You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Vladi Feigin <vl...@liveperson.com> on 2017/01/08 21:09:30 UTC

Debugging Kafka Streams

Hi All,

I'm playing with Kafka Streams and it looks really promising technology
The question is how to debug it ? Is there a way to debug all steps of a
topology?
Like it's possible in Spark when every step can be printed for example?

Other question is about supported languages. Is it only Java so far?
Any plans about javascript?
Thank you ,

-- 

Vladi Feigin
R&D Software Architect
T: +972-74-700-4376
<http://www.linkedin.com/company/164748> <http://twitter.com/liveperson>
<http://www.facebook.com/LivePersonInc> We Create Meaningful Connections
<https://liveperson.docsend.com/view/8iiswfp>

-- 
This message may contain confidential and/or privileged information. 
If you are not the addressee or authorized to receive this on behalf of the 
addressee you must not use, copy, disclose or take action based on this 
message or any information herein. 
If you have received this message in error, please advise the sender 
immediately by reply email and delete this message. Thank you.

Re: Debugging Kafka Streams

Posted by Vladi Feigin <vl...@liveperson.com>.
Thank you Matthias !

Will be really great having javascript support, we have a few use cases of
using Kafka Streams from nodejs
This could be a great differentiator comparing to the competitors

Regarding the print - unfortunately not all classes support it , e.g.
KGroupedStream doesn't

Thank you,
Vladi



On Mon, Jan 9, 2017 at 3:31 AM, Matthias J. Sax <ma...@confluent.io>
wrote:

> Hi,
>
> because Kafka Streams is a regular Java library you can set breakpoints
> anywhere as for any other program to debug. Furthermore, you can use
> .print() to see intermediate results at command line.
>
> The only thing about breakpoints in Streams it to make sure the client
> does not timeout -- but you can increase client session timeout
> parameter to a high value to guard against this.
>
>
> About other languages: basically, we want to offer the library for
> different languages (maybe C/C++, Python, or others) but there is not
> timeline for this.
>
>
> -Matthias
>
>
> On 1/8/17 1:09 PM, Vladi Feigin wrote:
> > Hi All,
> >
> > I'm playing with Kafka Streams and it looks really promising technology
> > The question is how to debug it ? Is there a way to debug all steps of a
> > topology?
> > Like it's possible in Spark when every step can be printed for example?
> >
> > Other question is about supported languages. Is it only Java so far?
> > Any plans about javascript?
> > Thank you ,
> >
>
>


-- 

Vladi Feigin
R&D Software Architect
T: +972-74-700-4376
<http://www.linkedin.com/company/164748> <http://twitter.com/liveperson>
<http://www.facebook.com/LivePersonInc> We Create Meaningful Connections
<https://liveperson.docsend.com/view/8iiswfp>

-- 
This message may contain confidential and/or privileged information. 
If you are not the addressee or authorized to receive this on behalf of the 
addressee you must not use, copy, disclose or take action based on this 
message or any information herein. 
If you have received this message in error, please advise the sender 
immediately by reply email and delete this message. Thank you.

Re: Debugging Kafka Streams

Posted by "Matthias J. Sax" <ma...@confluent.io>.
Hi,

because Kafka Streams is a regular Java library you can set breakpoints
anywhere as for any other program to debug. Furthermore, you can use
.print() to see intermediate results at command line.

The only thing about breakpoints in Streams it to make sure the client
does not timeout -- but you can increase client session timeout
parameter to a high value to guard against this.


About other languages: basically, we want to offer the library for
different languages (maybe C/C++, Python, or others) but there is not
timeline for this.


-Matthias


On 1/8/17 1:09 PM, Vladi Feigin wrote:
> Hi All,
> 
> I'm playing with Kafka Streams and it looks really promising technology
> The question is how to debug it ? Is there a way to debug all steps of a
> topology?
> Like it's possible in Spark when every step can be printed for example?
> 
> Other question is about supported languages. Is it only Java so far?
> Any plans about javascript?
> Thank you ,
>