Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2223

is NettyAvroRpcClient methods threadsafe

    XMLWordPrintableJSON

    Details

    • Type: Question
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Client SDK
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              krishnp Praveen Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: