-
公开(公告)号:US11122000B1
公开(公告)日:2021-09-14
申请号:US16711285
申请日:2019-12-11
Applicant: Amazon Technologies, Inc.
Inventor: Christoph Saalfeld , Dominique Fortier , Nicholas A. Gochenaur , Himanshu Jindal , Venkata Harish Kommaraju
Abstract: A message broker of a publish-subscribe messaging system (e.g., using the MQTT protocol or other publish-subscribe protocol) detects a life-cycle event for topic subscription and notifies a publisher of the life-cycle event. The message broker may detect a transition in a number of subscribers to a topic from zero subscribers to one or more subscribers or from one or more subscribers to zero subscribers. In response, the message broker provides an indication to the publisher that the number of subscribers to the topic has transitioned from zero to one or more (or from one or more to zero). This causes the publisher to begin publishing messages on the publisher's topic (or to stop publishing messages on the publisher's topic).