# How to notify other cluster nodes in es plugin

**URL:** <https://discuss.elastic.co/t/how-to-notify-other-cluster-nodes-in-es-plugin/59378>\
**Category:** Elasticsearch\
**Created:** [August 31, 2016, 1:33am UTC](https://discuss.elastic.co/t/how-to-notify-other-cluster-nodes-in-es-plugin/59378 "2016-08-31T01:33:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kf\_ypmqqw](https://avatars.discourse-cdn.com/v4/letter/k/ac91a4/32.png) [@kf\_ypmqqw](https://discuss.elastic.co/u/kf_ypmqqw)\
**Post date:** [August 31, 2016, 1:33am UTC](https://discuss.elastic.co/t/how-to-notify-other-cluster-nodes-in-es-plugin/59378/1 "2016-08-31T01:33:07Z")

</div>

Hi,  
When I visit one node's hello plug by host:9200/\_hello?name=kf, all the nodes are printed hello,kf  
How can i do??

> public class RestTestAction extends BaseRestHandler {

> ```
> @Inject
> public RestTestAction(Settings settings, RestController controller, Client client) {
> super(settings, controller, client);
> controller.registerHandler(GET, "/_hello", this);
> }
> 
> ```

> ```
> @Override
> public void handleRequest(final RestRequest request, final RestChannel channel, final Client client) {
> System.out.println("hello, " + request.param("name"));
> **//TODO How to notify other cluster nodes to say hello**
> }
> 
> ```
> 
> }

---

<div class="post-metadata">

**Author:** ![kf\_ypmqqw](https://avatars.discourse-cdn.com/v4/letter/k/ac91a4/32.png) [@kf\_ypmqqw](https://discuss.elastic.co/u/kf_ypmqqw)\
**Post date:** [September 5, 2016, 9:29am UTC](https://discuss.elastic.co/t/how-to-notify-other-cluster-nodes-in-es-plugin/59378/2 "2016-09-05T09:29:02Z")

</div>

up!!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:22pm UTC](https://discuss.elastic.co/t/how-to-notify-other-cluster-nodes-in-es-plugin/59378/3 "2017-07-05T22:22:31Z")

</div>


