Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2403

Unable to access Metadata from RPC Plugin in implemented interfaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.2
    • None
    • java
    • None

    Description

      We have transferred the Metadata from Avro RPC Client to server using RPCPlugin and received in server RPCPlugin.

       

      But unable to use/consume the RPCContext or metadata in interface implementation of IDL.

      In this case the metadata can only be used to log and Implementation was unable to use. 

       

      Is there any way to consume the same in interface implementation classes.

       

      I can transfer the metadata using ThreadLocal which was not the permenant solution in multithreaded/executor service environments.

       

      It will be great if this feature was there. Thanks in advance.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jagathkriish Jagathpathi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: