# Obtain jdbc river state via java api

**URL:** <https://discuss.elastic.co/t/obtain-jdbc-river-state-via-java-api/21949>\
**Category:** Elasticsearch\
**Created:** [February 2, 2015, 2:57pm UTC](https://discuss.elastic.co/t/obtain-jdbc-river-state-via-java-api/21949 "2015-02-02T14:57:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abid\_Hussain](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Abid\_Hussain](https://discuss.elastic.co/u/Abid_Hussain)\
**Post date:** [February 2, 2015, 2:57pm UTC](https://discuss.elastic.co/t/obtain-jdbc-river-state-via-java-api/21949/1 "2015-02-02T14:57:59Z")

</div>

Hi all,

is there a way to obtain state of a certain river (like _GET  
/\_river/jdbc//\_state_) via TransportClient or any other kind of  
java api call?

If not, I would have to perform a http get request programmatically and  
parse json result, I guess...

Regards,

Abid

--  
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/eda0c348-4938-4900-a822-37aa520da7fe%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/eda0c348-4938-4900-a822-37aa520da7fe%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [February 2, 2015, 4:50pm UTC](https://discuss.elastic.co/t/obtain-jdbc-river-state-via-java-api/21949/2 "2015-02-02T16:50:41Z")

</div>

There is no stateful river concept in Elasticsearch.

Jörg

On Mon, Feb 2, 2015 at 3:57 PM, Abid Hussain [hussain@novacom.mygbiz.com](mailto:hussain@novacom.mygbiz.com)  
wrote:

> Hi all,
> 
> is there a way to obtain state of a certain river (like _GET  
> /\_river/jdbc//\_state_) via TransportClient or any other kind  
> of java api call?
> 
> If not, I would have to perform a http get request programmatically and  
> parse json result, I guess...
> 
> Regards,
> 
> Abid
> 
> --  
> 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/eda0c348-4938-4900-a822-37aa520da7fe%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/eda0c348-4938-4900-a822-37aa520da7fe%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/eda0c348-4938-4900-a822-37aa520da7fe%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/eda0c348-4938-4900-a822-37aa520da7fe%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAKdsXoE5B\_oJn9A8%2Bi3-Vzqhiazgij0Q%2BRR77XfA1fpZ162Z2w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoE5B_oJn9A8%2Bi3-Vzqhiazgij0Q%2BRR77XfA1fpZ162Z2w%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Abid\_Hussain](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@Abid\_Hussain](https://discuss.elastic.co/u/Abid_Hussain)\
**Post date:** [February 3, 2015, 9:44am UTC](https://discuss.elastic.co/t/obtain-jdbc-river-state-via-java-api/21949/3 "2015-02-03T09:44:02Z")

</div>

Thanks, so I implement the state request with http get.

Regards,

Abid

Am Montag, 2. Februar 2015 17:50:53 UTC+1 schrieb Jörg Prante:

> There is no stateful river concept in Elasticsearch.
> 
> Jörg
> 
> On Mon, Feb 2, 2015 at 3:57 PM, Abid Hussain \<[hus...@novacom.mygbiz.com](mailto:hus...@novacom.mygbiz.com)  
> \<javascript:\>\> wrote:
> 
> > Hi all,
> > 
> > is there a way to obtain state of a certain river (like _GET  
> > /\_river/jdbc//\_state_) via TransportClient or any other kind  
> > of java api call?
> > 
> > If not, I would have to perform a http get request programmatically and  
> > parse json result, I guess...
> > 
> > Regards,
> > 
> > Abid
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/eda0c348-4938-4900-a822-37aa520da7fe%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/eda0c348-4938-4900-a822-37aa520da7fe%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/eda0c348-4938-4900-a822-37aa520da7fe%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/eda0c348-4938-4900-a822-37aa520da7fe%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/cb420cbb-a66f-4472-93ec-fc6b7fd1bc57%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cb420cbb-a66f-4472-93ec-fc6b7fd1bc57%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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/obtain-jdbc-river-state-via-java-api/21949/4 "2017-07-06T00:35:13Z")

</div>


