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
已提问 5 年前203 查看次数
2 回答
0

Hi,

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

Thanks,
Jeff

已回答 5 年前
0

Got it, thanks for the fast reply!

denys3
已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则