# JDBC plugin Feeder Mode

**URL:** https://discuss.elastic.co/t/jdbc-plugin-feeder-mode/21705
**Category:** Elasticsearch
**Created:** [January 19, 2015, 7:01am UTC](https://discuss.elastic.co/t/jdbc-plugin-feeder-mode/21705 "2015-01-19T07:01:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![4m7u1](https://avatars.discourse-cdn.com/v4/letter/4/8e7dd6/32.png) [@4m7u1](https://discuss.elastic.co/u/4m7u1)
#### Post date: [January 19, 2015, 7:01am UTC](https://discuss.elastic.co/t/jdbc-plugin-feeder-mode/21705/1 "2015-01-19T07:01:19Z")

</div>

Hi,

This is what I've understood so far, JDBC plugin in Feeder mode is run as a  
bash script with parameters similar to river. The documentation says that  
it is a push model. Can anyone explain how does it work? If i have a new  
data pushed into my db, what role does the feeder play from here on?

Thank you.

--  
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/54750384-49bd-471d-8cac-86aa9f43a9fb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/54750384-49bd-471d-8cac-86aa9f43a9fb%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: [January 19, 2015, 9:52am UTC](https://discuss.elastic.co/t/jdbc-plugin-feeder-mode/21705/2 "2015-01-19T09:52:15Z")

</div>

The "push model" works like this: a standalone JVM is running the JDBC  
plugin, this plugin connects to an Elasticsearch cluster using the  
TransportClient. Then, SQL statement(s) are executed, the rows are  
processed, and indexed into Elasticsearch with the bulk processor.

Because the nodes in the cluster are not "pulling" data from an external  
source into the cluster JVMs like river instances do, the standalone JDBC  
plugin JVM is what I call "push" model.

The JDBC plugin does not recognize if there is new data in the DB.

Jörg

On Mon, Jan 19, 2015 at 8:01 AM, 4m7u1 [amtulnazneen7@gmail.com](mailto:amtulnazneen7@gmail.com) wrote:

> Hi,
> 
> This is what I've understood so far, JDBC plugin in Feeder mode is run as  
> a bash script with parameters similar to river. The documentation says that  
> it is a push model. Can anyone explain how does it work? If i have a new  
> data pushed into my db, what role does the feeder play from here on?
> 
> Thank you.
> 
> --  
> 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/54750384-49bd-471d-8cac-86aa9f43a9fb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/54750384-49bd-471d-8cac-86aa9f43a9fb%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/54750384-49bd-471d-8cac-86aa9f43a9fb%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/54750384-49bd-471d-8cac-86aa9f43a9fb%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/CAKdsXoGCLs6XFVpCo4-YZpi%3DYEKZESKdXNo-Qi5R2Hmm8R3u%3DQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGCLs6XFVpCo4-YZpi%3DYEKZESKdXNo-Qi5R2Hmm8R3u%3DQ%40mail.gmail.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:38am UTC](https://discuss.elastic.co/t/jdbc-plugin-feeder-mode/21705/3 "2017-07-06T00:38:04Z")

</div>


