cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

changefeedccl: disallow watching two tables with the same name

Open danhhz opened this issue 8 years ago • 2 comments

Something like CREATE CHANGEFEED db1.foo, db2.foo ... will currently work, but will output both to the same topic, which is non-sensical. We should error instead. Similar to #30439

Jira issue: CRDB-4740

danhhz avatar Nov 20 '18 19:11 danhhz

I'm not sure this is non-sensical in all cases.

If I'm using CDC to power the Message Outbox pattern, so long as the schemas in the table are compatible, it's entirely possible that I have db1.outbox and db2.outbox and want them to end up on a single topic for processing - it means I can centralise the message processing, but distribute the ability to "publish".

mileswilson avatar Jul 30 '21 08:07 mileswilson

Closing this issue as we've decided for now at least that this is the behavior we want

amruss avatar May 04 '22 18:05 amruss