This diff also adds a new API to list consumer-groups for a given destination-uuid -- the difference between this and the existing ListConsumerGroups API is that this one would look at the 'consumer_groups' table (instead of 'consumer_groups_by_name', that ListConsumerGroups look at).
Retention-manager uses this new API to query consumer-groups in 'deleting' state and takes appropriate action to 'delete' them.
Coverage increased (+0.5%) to 67.431% when pulling 262378cc97079f8a69c16e55f822f60da90f3c4b on cg-dest-uuid into 985ade98f568f62ad87f131ac5ff9bd45f39f49b on master.
Coverage increased (+0.2%) to 67.541% when pulling 4c71fb12f854d2af57ce23b036612f66e74ca363 on cg-dest-uuid into fc00e427570292340fd0b924b017517e7d3cbf51 on master.
Coverage increased (+0.07%) to 67.571% when pulling 1abe1d8beefb8cd5380f678def5915574d3ff141 on cg-dest-uuid into 3ef749a98939bc6f5e4150004f65e773a58e515a on master.
This diff also adds a new API to list consumer-groups for a given destination-uuid -- the difference between this and the existing ListConsumerGroups API is that this one would look at the 'consumer_groups' table (instead of 'consumer_groups_by_name', that ListConsumerGroups look at).
Retention-manager uses this new API to query consumer-groups in 'deleting' state and takes appropriate action to 'delete' them.