[ 
https://issues.apache.org/jira/browse/HTRACE-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14933980#comment-14933980
 ] 

Cosmin Lehene commented on HTRACE-235:
--------------------------------------

I fixed the unit tests ({{TestZipkinSpanReceiver}}). 
Per [~adriancole]'s recommendation I'm trying to get Kafka Junit 
(https://github.com/charithe/kafka-junit)  in to remove some of the test 
boilerplate. 
I'll repost the patch soon.

> htrace-zipkin - add Kafka transport support 
> --------------------------------------------
>
>                 Key: HTRACE-235
>                 URL: https://issues.apache.org/jira/browse/HTRACE-235
>             Project: HTrace
>          Issue Type: New Feature
>            Reporter: Cosmin Lehene
>            Assignee: Cosmin Lehene
>             Fix For: 4.1
>
>         Attachments: HTRACE-235.1.patch, HTRACE-235.patch
>
>
> Currently htrace-zipkin writes to the Scribe Thrift endpoint. However, Scribe 
> is pretty much dead (although this is just Thrift interface so doesn't really 
> need Scribe). 
> A Kafka receiver would likely be useful not only for htrace-zipkin, so I 
> think it could live outside. The htrace-native would be harder to get working 
> with Kafka as there no supported Kafka native client (perhaps this could be 
> experimented with https://github.com/edenhill/librdkafka).
> Writing to Kafka would also be possible by having a service that translates 
> from Scribe Thrift to Kafka messages, however it would be nice to get the 
> Kafka producer semantics on the client side (e.g. sync, async, batch size, 
> etc.). This will come at the cost of having the Kafka producer as a 
> dependency (larger jar), though as well as have a more complex receiver 
> (multiple threads from the Kafka producer). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to