core-wg / coap-pubsub

Publish-Subscribe Broker for the Constrained Application Protocol (CoAP)
Other
3 stars 4 forks source link

Notification information to publisher #12

Open lauri-piikivi opened 6 years ago

lauri-piikivi commented 6 years ago

Hi,

More of a feature wish. If a client subscribes for notifications, I would like to have an option that allows the broker to forward the notification attributes -- the greater than, less than, minimum period etc -- to the publishing client. The publishing client can use those to adjust it's own publishing.

akeranen commented 6 years ago

A topic may have multiple subscribers so a broker would have to forward and update combinations of these parameters to the publisher. Also would need to define a mechanism to relay these attributes. This starts to get quite complex so maybe it's better left for the future unless there's a strong need for this.