You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Gwen Shapira (JIRA)" <ji...@apache.org> on 2015/01/20 22:04:34 UTC

[jira] [Resolved] (FLUME-2223) is NettyAvroRpcClient methods threadsafe

     [ https://issues.apache.org/jira/browse/FLUME-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gwen Shapira resolved FLUME-2223.
---------------------------------
    Resolution: Not a Problem

> is NettyAvroRpcClient methods threadsafe
> ----------------------------------------
>
>                 Key: FLUME-2223
>                 URL: https://issues.apache.org/jira/browse/FLUME-2223
>             Project: Flume
>          Issue Type: Question
>          Components: Client SDK
>            Reporter: Praveen Nair
>
> Hi, 
> I would like to know if  NettyAvroRpcClient methods are thread safe , so that same client instance can be used by multiple threads to post log events from a java application. 
> Could you provide an example code snippet that mentions the usage of  NettyAvroRpcClient methods in multithreaded situation?
> Also the append method in org.apache.flume.clients.log4jappender.Log4jAppender
> seems to be synchronised. Does that create a bottleneck if Log4jAppender
> is used from application for appending log messages to Flume?
> Thanks & Regards,
> Praveen



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