cockroachdb / replicator

replicator is a toolkit for ingesting logical replication feeds into a CockroachDB cluster
Apache License 2.0
56 stars 22 forks source link

Multiple column family support #216

Open bobvawter opened 1 year ago

bobvawter commented 1 year ago

https://www.cockroachlabs.com/docs/v22.1/changefeeds-on-tables-with-column-families

BramGruneir commented 1 year ago

What are you thinking here?

It seems like unnecessary complexity.

bobvawter commented 1 month ago

Mutations are currently identified by (table, pk, time). We'll need the ability to track a partition (column family) name as well. As a preparatory step, it's probably worthwhile to extract a MutationKey type from types.Mutation to ensure we can identify all features which depend upon the identity of a mutation. Once there's an API concept that encapsulates a mutation's identity, we can expand it to support column families or other dimensions we haven't previously considered.