# ElasticSearch Acknowledgements

**URL:** <https://discuss.elastic.co/t/elasticsearch-acknowledgements/21952>\
**Category:** Elasticsearch\
**Created:** [February 3, 2015, 6:30am UTC](https://discuss.elastic.co/t/elasticsearch-acknowledgements/21952 "2015-02-03T06:30:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhishek\_Patel](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Abhishek\_Patel](https://discuss.elastic.co/u/Abhishek_Patel)\
**Post date:** [February 3, 2015, 6:30am UTC](https://discuss.elastic.co/t/elasticsearch-acknowledgements/21952/1 "2015-02-03T06:30:13Z")

</div>

Previously, I was using storm topology to build my pipeline to suffice my  
use case which was - Reading from Kafka topic through Kafka spout, process  
these tuples in Bolt, then emit them to ElasticSearch bolt to index my  
tuples. In storm topology, I was able to acknowledge each tuple i was  
indexing and these acknowledgments were sent from EsBolt to spout and  
finally to Zookeeper.

Later I realised that Storm is not the appropriate component for my use  
case and I switched to Spark. I am doing the same thing with Spark -  
Reading from Kafka topic, reading messages in Spark stream, pass this  
stream to a component which converts this stream to RDD and finally indexes  
these RDDs. But now, there is no mechanism for acknowledgements. But I  
still want to send acknowledgements for each messages being indexed to the  
previous component.

My code looks like this -

JavaEsSpark.saveJsonToEs(jrd, "index\_{date}/type");

How can I get acknowledgements in Spark-ElasticSearch framework?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f73a57fd-1f5a-41f3-b6ec-077961668687%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f73a57fd-1f5a-41f3-b6ec-077961668687%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![sumit\_gupta\_sgt](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@sumit\_gupta\_sgt](https://discuss.elastic.co/u/sumit_gupta_sgt)\
**Post date:** [February 4, 2015, 4:37am UTC](https://discuss.elastic.co/t/elasticsearch-acknowledgements/21952/2 "2015-02-04T04:37:19Z")

</div>

I think you are looking for some alerting like indexing happening for not..if i am right.

---

<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 6, 2017, 12:35am UTC](https://discuss.elastic.co/t/elasticsearch-acknowledgements/21952/3 "2017-07-06T00:35:04Z")

</div>

Closed on July 6, 2017, 12:35am UTC


