# JDBCSINKconnector upsert into different tables

**URL:** <https://forum.confluent.io/t/jdbcsinkconnector-upsert-into-different-tables/4567>\
**Category:** Kafka Connect\
**Created:** [24 March 2022 12:03 UTC](https://forum.confluent.io/t/jdbcsinkconnector-upsert-into-different-tables/4567 "2022-03-24T12:03:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayeshabanu](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@Ayeshabanu](https://forum.confluent.io/u/Ayeshabanu)\
**Post date:** [24 March 2022 12:03 UTC](https://forum.confluent.io/t/jdbcsinkconnector-upsert-into-different-tables/4567/1 "2022-03-24T12:03:19Z")

</div>

hi ,  
I’m trying to send multiple collections data into single topic using mongo source connector and one jdbcsink connector reads that topic and insert the data to respective tables. is it possible? Any sampleconfiguartion for jdbcsink connector to upsert into two different tables?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [23 April 2022 12:04 UTC](https://forum.confluent.io/t/jdbcsinkconnector-upsert-into-different-tables/4567/2 "2022-04-23T12:04:11Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
