vitessio / vitess

Vitess is a database clustering system for horizontal scaling of MySQL.
http://vitess.io
Apache License 2.0
18.43k stars 2.08k forks source link

Messaging: Support subsetting on arbitrary labels #3626

Open derekperkins opened 6 years ago

derekperkins commented 6 years ago

Currently Messaging supports subsetting based on name, keyspace, shard and/or keyrange. I propose adding another standard field that would support subsetting based on arbitrary labels. The most flexible would be to allow for a list of key/value labels, but I think even just supporting an array of string labels would be sufficient.

Use Cases

Alternate Solutions

Without digging into the internals, it's hard to say whether or not general label filtering would be feasible from a technical standpoint.

@sougou What are your thoughts?

sougou commented 6 years ago