Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advertising channel endpoints in a future Pub/Sub conformance class #8

Open
ghobona opened this issue May 11, 2023 · 1 comment
Open

Comments

@ghobona
Copy link
Contributor

ghobona commented May 11, 2023

During the April 2023 code sprint, a need was identified to be able to advertise MQTT channels on a collection metadata response. An example fragment is shown below.

        {
            "type": "application/json",
            "rel": "items",
            "title": "Subscription information (Pub/Sub)",
            "href": "mqtt://localhost:1883",
            "channel": "collections/weather-observations"
        } 

There is clearly a need to be able to include additional parameters in links. Since RFC 8288 identifies a specific set of link-params that are allowed in links, does that mean that no other link-params are allowed?

If so, how might we address the need to advertise channel endpoints in a future Pub/Sub conformance class of OGC API Standards.

@chris-little
Copy link
Collaborator

@ghobona In the draft API-EDR V1.2, we have requirements, courtesy of @tomkralidis :

A. An OGC API endpoint SHALL provide a link reference to a Publish-Subscribe server from an OGC API endpoint when Publish-Subscribe capabilities exist related to the OGC API endpoint.

B: A Publish-Subscribe link reference SHALL provide the channel property to allow for granular subscription.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants