[ https://issues.apache.org/jira/browse/HELIX-626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15102698#comment-15102698
]
ASF GitHub Bot commented on HELIX-626:
--------------------------------------
Github user kishoreg commented on the pull request:
https://github.com/apache/helix/pull/43#issuecomment-172126774
Then a better api, is to provide a Filter api right.
similar to File.list(dir, FileNameFilter) we can have a MessageSendFilter which has accept
method that returns boolean
within Helix, we can invoke this method and caller has the option to say true or false.
> Enable specify the number of recipient when sending a message
> -------------------------------------------------------------
>
> Key: HELIX-626
> URL: https://issues.apache.org/jira/browse/HELIX-626
> Project: Apache Helix
> Issue Type: Task
> Reporter: Congrui Ji
>
> Helix allow messages to be sent to a partition with specific state. e.g. Sending message
to PARTITION_8 whose state is SLAVE.
> However, sometimes user wish the message is sent to only ONE SLAVE rather than ALL SLAVEs,
e.g. A backup message should be sent to only ONE SLAVE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|