[ 
https://issues.apache.org/jira/browse/AVRO-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734351#action_12734351
 ] 

Doug Cutting commented on AVRO-76:
----------------------------------

It seems error-prone to have connection and call metadata maps survive longer 
than the connection or call.  Rather, the Requestor should start with empty 
metadata for each connection and call, then plugins can populate the metadata 
before it is sent, then it is discarded.  The patch already handles Response 
metadata in this manner.

Also, calling clearRPCplugins seems error prone too.  This method is not used 
in the patch.  Let's leave it out for now.

Other than that, this is looking good.


> Add plug-in mechanism for manipulating per-call metadata
> --------------------------------------------------------
>
>                 Key: AVRO-76
>                 URL: https://issues.apache.org/jira/browse/AVRO-76
>             Project: Avro
>          Issue Type: Sub-task
>          Components: java
>            Reporter: George Porter
>            Assignee: George Porter
>         Attachments: AVRO-76.patch, AVRO-76.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to