# Same output topic for table and stream

**URL:** <https://forum.confluent.io/t/same-output-topic-for-table-and-stream/4390>\
**Category:** ksqlDB\
**Created:** [8 March 2022 18:08 UTC](https://forum.confluent.io/t/same-output-topic-for-table-and-stream/4390 "2022-03-08T18:08:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![almindor](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/almindor/32/1597_2.png) [@almindor](https://forum.confluent.io/u/almindor)\
**Post date:** [8 March 2022 18:08 UTC](https://forum.confluent.io/t/same-output-topic-for-table-and-stream/4390/1 "2022-03-08T18:08:41Z")

</div>

I’m trying to output the same formatted protobuf data to one output topic from two queries.

One is a stream-stream join and the other is a stream-stream-stream join + group by table.

Their outputs are same by columns and their types but I get error 409 schema being registerted is being incompatible.

Is there a solution to this? there’s absolutely no reason to have two topics for this data.

---

<div class="post-metadata">

**Author:** ![almindor](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/almindor/32/1597_2.png) [@almindor](https://forum.confluent.io/u/almindor)\
**Post date:** [8 March 2022 23:59 UTC](https://forum.confluent.io/t/same-output-topic-for-table-and-stream/4390/2 "2022-03-08T23:59:14Z")

</div>

I think I know why the problem exists but not how to solve it. See the [other topic](https://forum.confluent.io/t/create-table-with-all-values-in-protobuf-schema/4394)

---

<div class="post-metadata">

**Author:** ![rmoff](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/rmoff/32/3_2.png) [@rmoff](https://forum.confluent.io/u/rmoff)\
**Post date:** [9 March 2022 09:50 UTC](https://forum.confluent.io/t/same-output-topic-for-table-and-stream/4390/3 "2022-03-09T09:50:50Z")

</div>

What’s the data? Can you give an example?

Streams and Tables are fundamentally different semantic types of data, so trying to store both in the same topic doesn’t sound like an obvious thing to do. As you’ve seen from the [other topic you reference](https://forum.confluent.io/t/create-table-with-all-values-in-protobuf-schema/4394) the data gets stored differently because of key attributes etc.

---

<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:** [7 April 2022 18:09 UTC](https://forum.confluent.io/t/same-output-topic-for-table-and-stream/4390/4 "2022-04-07T18:09:35Z")

</div>

Closed on 7 April 2022 18:09 UTC

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