You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@htrace.apache.org by "Long Zhou (JIRA)" <ji...@apache.org> on 2014/12/13 22:03:13 UTC

[jira] [Comment Edited] (HTRACE-18) Support flume receiver

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

Long Zhou edited comment on HTRACE-18 at 12/13/14 9:02 PM:
-----------------------------------------------------------

Hi [~stack],

org.apache.htrace.avro.Span is generated by Avro and used to serialize htrace.Span into byte[] or json.

[~cmccabe] recommended me to remove Avro support and refactor/reuse the Json serializer in {{LocalFileSpanReceiver.java}}. That will allow me to delete the Avro boilerplate under org.apache.htrace.avro.*.

Thanks


was (Author: longzhouwk):
Hi [stack],

org.apache.htrace.avro.Span is generated by Avro and used to serialize htrace.Span into byte[] or json.

[cmccabe] recommended me to remove Avro support and refactor/reuse the Json serializer in {{LocalFileSpanReceiver.java}}. That will allow me to delete the Avro boilerplate under org.apache.htrace.avro.*.

Thanks

> Support flume receiver
> ----------------------
>
>                 Key: HTRACE-18
>                 URL: https://issues.apache.org/jira/browse/HTRACE-18
>             Project: HTrace
>          Issue Type: Improvement
>            Reporter: Long Zhou
>         Attachments: htrace-flume01.patch
>
>
> Hi htrace devs,
> I have been using htrace for a while and find it very useful.
> I needed a way to collect traces from remote servers via flume, so I implemented the flume receiver (patch attached). If this code is useful to other users, I would like to contribute it to the project.
> Please kindly review the patch, and let me know if anything I should fix/improve.
> Thanks,
> Long Zhou



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