aws-appsync-rds-aurora-sample
aws-appsync-rds-aurora-sample copied to clipboard
how to identify number of active subscribers by subscription in AppSync
Need to keep count of how many subscribers are connected with each subscription.
For UserA, UserB are connected with SubscriptionA : then 2 is the total subscribers For UserA are connected with SubscriptionB : then 1 is the total subscribers
Can i know when UserA unsubscribes , subscribes, disconnects, reconnects from AppSync ?
AppSync has some metrics that may be helpful.
These metrics are at the API level, not the individual subscription level as you mentioned.
I've brought forward to the team a feature request for subscription level metrics.
Thanks @T-Caines . I will take a look.