[ 
https://issues.apache.org/jira/browse/CHUKWA-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714067#action_12714067
 ] 

Ari Rabkin commented on CHUKWA-268:
-----------------------------------

I would make AdaptorManager an interface that's implemented by ChukwaAgent, and 
would pass it in to the adaptor at initialization time.  This AdaptorManager 
can subsume ChunkReceiver.

> Create an interface to manage all Adaptors
> ------------------------------------------
>
>                 Key: CHUKWA-268
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-268
>             Project: Hadoop Chukwa
>          Issue Type: Improvement
>          Components: data collection
>    Affects Versions: 0.2.0
>            Reporter: Jerome Boulon
>             Fix For: 0.2.0
>
>
> Currently the agent manage all adaptors and it's fine however it will be 
> cleaner to have an AdaptorManager interface. The agent will just implement 
> this interface without changing anything, but adaptors will retrieve the 
> manager using ChukwaFactory. This will remove the hard dependency between 
> Agent and adaptors.

-- 
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