gsandf / rethinkdb-elasticsearch-stream

🔄 sync RethinkDB tables to Elasticsearch using changefeeds
9 stars 4 forks source link

Utilize library for recovering gracefully changefeeds from connection loss #42

Closed SethGunnells closed 6 years ago

SethGunnells commented 6 years ago

For reasons I'm not entirely sure of, sometimes the connection utilized by a changefeed query will get dropped. This leads to a loss of all updates until the service is manually restarted and backfilled. This brings in a library that I have used to solve this problem on a separate occasion. It simply attempts to restore the changefeed if it perceives that it has been lost.