Open bobvawter opened 1 year ago
What are you thinking here?
It seems like unnecessary complexity.
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.
https://www.cockroachlabs.com/docs/v22.1/changefeeds-on-tables-with-column-families
MutationKey
type fromMutation
(code cleanup to create a comparable type, no functional changes).MutationKey
.topic
entries in incoming payloads.