Add GetStats function to SubscriptionAPI
Closed this issue · 1 comments
stoewer commented
Add a function with the following signature:
func (s *SubscriptionAPI) GetStats(id string) (*SubscriptionStats, error)
The function should return information about a subscription and its partitions. The returned data should correspond with the entity returned by the stats endpoint.