[
https://issues.apache.org/jira/browse/ACE-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747374#comment-13747374
]
Bram de Kruijff commented on ACE-382:
-------------------------------------
Under ACE-347 we have added FeedBackHandler as a control delegate and the
FeedbackChannel interface (see below) This allows a custom controller to lookup
and write to channels as well as deciding to send the feedback to the server.
In addition I propose;
* What channels are available is a configuration aspect that must match
channels on the servers
* What the local log maximum size is before truncating is a configuration
aspect (see ACE-381)
* DefaultController will simply send feedback every sync iteration for all
available channels
Does this cover the "control all aspects" as mentioned in the description of
this issue?
{code}
public interface FeedbackHandler {
/** Returns the feedback channels names */
List<String> getChannelNames();
/** Returns the feedback channel for a name */
FeedbackChannel getChannel(String name);
}
{code}
{code}
public interface FeedbackChannel {
/** Synchronizes the feedback with the current server. Ensures the server
has at least as much feedback data as we do. */
void sendFeedback() throws RetryAfterException, IOException;
/** Logs a new message to the channel.*/
void write(int type, Map<String, String> properties) throws IOException;
}
{code}
> Implement a FeedbackControl service.
> ------------------------------------
>
> Key: ACE-382
> URL: https://issues.apache.org/jira/browse/ACE-382
> Project: ACE
> Issue Type: Task
> Components: Log, Management Agent
> Reporter: Marcel Offermans
>
> On the target, the management should expose a FeedbackControl service API
> that allows consumers to control every aspect of the feedback mechanism.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira