Smart Mutation Processing for Subscriptions

0

Hi.
I have a use-case where new objects, that added to Dynamo Db are published over AppSync real-time subscription channel. Due to specific usage pattern (large volume of writes as compared to number of active listeners that subscribed to filtered output) most of the time I don't need to publish those mutations, since nobody listens for them. I want to optimize mutation resolver lambda to work only if at least one active listener is present. Is there any API to check whether given mqtt topic has active subscribers, or configuration, that allows me to make mutation lambda working on active topics only?

denys3
asked 5 years ago198 views
2 Answers
0

Hi,

That's a good question and fair use case, but no, at this time there is no such API, unfortunately.

Thanks,
Jeff

answered 5 years ago
0

Got it, thanks for the fast reply!

denys3
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions