CDC: Support Filters for Changefeeds
A way to syntactically specify a filter on what is emitted in a changefeed, ensuring we can support filtering by partition, and only the partitioned data is emitted in a changefeed.
UX tbd. Alternatively, we could allow a more broad set of filters.
Changefeed should fail when partitions are changed.
gz#7834
Jira issue: CRDB-2889
Hi @amruss, I've guessed the C-ategory of your issue and suitably labeled it. Please re-label if inaccurate.
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.
Did get a request from a CEA customer to allow filtering based in part on the SQL user that was responsible for the change. Might also be nice to have the SQL application name available as a predicate, too.
@amruss - very interested in this
Hi @bryanhuntesl this ended up just under the cutline for 21.2, so we probably won't have something comprehensive here for the next release. That being said we're going to do scoping/validation here over the next few months. What does the use case look like for you?
Hi - curious about a status for this? As a customer with regulated data (PCI, PII), it's super beneficial to have columns filtered right at the start when using CDC to populate a downstream pipeline.
PCI/PII didn't even occur to me when I brought this up, but yes that's an obvious case where it would be essential.
This is now available in preview. https://www.cockroachlabs.com/docs/dev/cdc-transformations.html
Haha no way! Thanks for implementing this!
On Wed, 7 Dec 2022, 17:47 Aaron Zinger, @.***> wrote:
Closed #56949 https://github.com/cockroachdb/cockroach/issues/56949 as completed.
— Reply to this email directly, view it on GitHub https://github.com/cockroachdb/cockroach/issues/56949#event-7980417074, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADGJZQQEWVX5VXM334ZX2TWMDESHANCNFSM4T4YXSIQ . You are receiving this because you commented.Message ID: @.***>
Planned for removing the preview label in 23.1 coming out in a few months!