flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishnan Nair.Praveen" <Praveen.KrishnanN...@IGT.com>
Subject is NettyAvroRpcClient methods threadsafe - flume component client SDK
Date Tue, 29 Oct 2013 18:16:23 GMT
Hi,

I would like to know if  NettyAvroRpcClient methods are thread safe , so that same client
instancecan 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


Mime
View raw message