# Want only one topic for all tables - PostgresCdcSourceConnector

**URL:** <https://forum.confluent.io/t/want-only-one-topic-for-all-tables-postgrescdcsourceconnector/6884>\
**Category:** Confluent Cloud\
**Created:** [20 December 2022 09:14 UTC](https://forum.confluent.io/t/want-only-one-topic-for-all-tables-postgrescdcsourceconnector/6884 "2022-12-20T09:14:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![harsh.shah](https://avatars.discourse-cdn.com/v4/letter/h/bc8723/32.png) [@harsh.shah](https://forum.confluent.io/u/harsh.shah)\
**Post date:** [20 December 2022 09:14 UTC](https://forum.confluent.io/t/want-only-one-topic-for-all-tables-postgrescdcsourceconnector/6884/1 "2022-12-20T09:14:51Z")

</div>

Hello Team,

We have set up PostgresCdcSourceConnector as a source. This connector has automatically created different topics for each table. I want only one topic for all tables and will need a prefix in the payload where I can identify from which table, data is coming.

Can you guys please help us with how to do that?

Thanks in advance.  
Harsh Shah

---

<div class="post-metadata">

**Author:** ![OneCricketeer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/onecricketeer/32/1551_2.png) [@OneCricketeer](https://forum.confluent.io/u/OneCricketeer)\
**Post date:** [22 December 2022 20:01 UTC](https://forum.confluent.io/t/want-only-one-topic-for-all-tables-postgrescdcsourceconnector/6884/2 "2022-12-22T20:01:40Z")

</div>

Assuming each table has the same schema, then you may be able to use RegexRouter transform to override the outgoing topic name that the Connector uses for producing records.
