0

I am using AWS Appsync for graphql subscription. It works fine and i can see Appsync manages all the hard stuff. But what is not clear to me is that how I can see how many subscribers are subscribing Appsync? Is there an API I can use?

Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523

1 Answers1

1

I guess what you are asking for is commonly referred as "presence" detection. It is a popular ask and AppSync doesn't support it out of the box. However you can implement it yourself using a atomic counter in a DynamoDB table to keep track of your connected clients. Detect Presence in AWS AppSync

You can also create an issue and +1 it on the https://github.com/aws/aws-appsync-community/issues repository, it helps us prioritizing features.

Tinou
  • 5,908
  • 4
  • 21
  • 24