# Streaming data from one InfluxDB to another with Kapacitor

**URL:** <https://community.influxdata.com/t/streaming-data-from-one-influxdb-to-another-with-kapacitor/16809>\
**Category:** Telegraf\
**Tags:** influxdb, influxdata, kapacitor, flux\
**Created:** [November 18, 2020, 4:39pm UTC](https://community.influxdata.com/t/streaming-data-from-one-influxdb-to-another-with-kapacitor/16809 "2020-11-18T16:39:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![golanudelamare](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/golanudelamare/32/4923_2.png) [@golanudelamare](https://community.influxdata.com/u/golanudelamare)\
**Post date:** [November 18, 2020, 4:39pm UTC](https://community.influxdata.com/t/streaming-data-from-one-influxdb-to-another-with-kapacitor/16809/1 "2020-11-18T16:39:00Z")

</div>

I have the following use case: I’m gathering data from a sensor which is being saved in a InfluxDB (InfluxDB1 on PC1 running Windows 10). I need to stream this data to a second PC (InfluxDB2 on PC2 with Windows10).  
Taking inspiration from here ([Continous Query Influxdb without aggregate functions possible? - #4 by noahcrowley](https://community.influxdata.com/t/continous-query-influxdb-without-aggregate-functions-possible/3221/4)) I’ve been able to do so without any problem.

My issue is: if the connection between PC1 and PC2 is interrupted, how can I make sure, that data which has been saved on PC1 during the connection failure, will be updated on PC2 once the connection is established?  
I certainly have some ideas how to implement something like this in Python but the question is, if there is something more comfortable to implement.

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [November 24, 2020, 7:58pm UTC](https://community.influxdata.com/t/streaming-data-from-one-influxdb-to-another-with-kapacitor/16809/2 "2020-11-24T19:58:06Z")

</div>

Hello @golanudelamare,  
Great question. I don’t know, give me some time to share your question. Thank you.

---

<div class="post-metadata">

**Author:** ![golanudelamare](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/golanudelamare/32/4923_2.png) [@golanudelamare](https://community.influxdata.com/u/golanudelamare)\
**Post date:** [November 24, 2020, 8:24pm UTC](https://community.influxdata.com/t/streaming-data-from-one-influxdb-to-another-with-kapacitor/16809/3 "2020-11-24T20:24:49Z")

</div>

Hi @Anaisdg. Thanks for reaching out once again. In the meantime I’ve implemented a solution developed in Python. Nevertheless, it would be interesting to find out, if there is something from the TICK stack that can be used with shorter development time.

---

<div class="post-metadata">

**Author:** ![golanudelamare](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/golanudelamare/32/4923_2.png) [@golanudelamare](https://community.influxdata.com/u/golanudelamare)\
**Post date:** [December 3, 2020, 3:51pm UTC](https://community.influxdata.com/t/streaming-data-from-one-influxdb-to-another-with-kapacitor/16809/4 "2020-12-03T15:51:38Z")

</div>

Hello @Anaisdg. Any response or ideea? Thanks. Stay safe!

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [December 4, 2020, 8:36pm UTC](https://community.influxdata.com/t/streaming-data-from-one-influxdb-to-another-with-kapacitor/16809/5 "2020-12-04T20:36:59Z")

</div>

Hello @golanudelamare,  
That’s awesome! are you able to share your Python solution? I’ve added this question to an issue with other community questions. I’ll check int.
