m3db / m3

M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics Platform
https://m3db.io/
Apache License 2.0
4.74k stars 452 forks source link

Export ConsumerServiceFilterConfiguration, ValidateShardSet, and ValidateServiceID #4220

Closed saad-zaman closed 1 year ago

saad-zaman commented 1 year ago

What this PR does / why we need it: Fixes #4218. This PR exports the following methods so they can be used more generally elsewhere easily without duplicating code:

This PR also exports the consumerServiceFilterConfiguration struct will allow unit tests for it to be written for it

Does this PR introduce a user-facing and/or backwards incompatible change?: No

Does this PR require updating code package or user-facing documentation?: No