Menu

#6548 Feature Request: Unsubscribe hooks following client disconnected

open
nobody
2021-12-27
2021-12-27
Anonymous
No

Originally created by: hiimdoublej-swag
Originally owned by: HJianBo

What would you like to be added/modified:

A toggle that when it's turned on, the broker will send session.unsubscribed webhooks/hooks following a client.disconnected trigger.

Why is this needed:

This will be very helpful for people that need to track per-topic member presence. With this feature, people who are interested in topic presence status (occupied/empty) can store it themselves. I don't think there's a possible way to have this right now.

Long term speaking, topic event hooks (topic.occupied, topic.vacant) actually fits this scenario better, but the suggested option here would do just fine.

Discussion

  • Anonymous

    Anonymous - 2021-12-27
     
  • Anonymous

    Anonymous - 2021-12-27

    Originally posted by: HJianBo

    That sounds like a good feature. thanks for your feedback!!
    We will discuss this feature and its possible implementation. You may have to wait a while for the feature to be implemented and released.

    Linked discussion: https://github.com/emqx/emqx/discussions/6392#discussioncomment-1873870

     

Log in to post a comment.

MongoDB Logo MongoDB