Git Product home page Git Product logo

Comments (11)

fmvilas avatar fmvilas commented on August 21, 2024

That's a great suggestion. Thanks for sharing! I'm not going to add anything to the spec in the short term but I'll take into account for future features.

Anyone interested in this feature, please upvote it so that I know if this is something urgent or not.

from spec.

lwielek avatar lwielek commented on August 21, 2024

@fmvilas
@gervaisb

Slightly different, but similar issue.
An application publishes/subscribes to 2 separate message brokers (clusters).
Some topics exist only on the first message broker, while others exist on the other.

Besides the server.group field, it would be nice to have e.g. topic.serverGroup field, that would identify the message broker, which actually maintains the topic.

from spec.

fmvilas avatar fmvilas commented on August 21, 2024

@lwielek that's an interesting approach to consider too. Would you mind creating a proposal?

from spec.

lwielek avatar lwielek commented on August 21, 2024

@fmvilas
Proposal

servers:
  - url: api.streetlights.smartylighting.com:1234
    scheme: mqtt
    description: API broker
    group: api
  - url: audit.streetlights.smartylighting.com:1234
    scheme: mqtt
    description: Audit broker
    group: audit
  
topics:
  event.{streetlightId}.lighting.measured:
    serverGroup: api
    publish:
      $ref: '#/components/messages/lightMeasured'
  event.lighting.audit:
    serverGroup: audit
    publish:
      $ref: '#/components/messages/auditMessage'

from spec.

fmvilas avatar fmvilas commented on August 21, 2024

Sorry, I meant creating a separate issue as the problem is different. As part of the proposal, I'd like to understand:

  • What's your use case?
  • Why it can't be done right now? or, how it would improve the current way of doing it?
  • Areas of the spec that might get affected.
  • Other considerations.

Thanks!

from spec.

lwielek avatar lwielek commented on August 21, 2024

@fmvilas Created #244

from spec.

fmvilas avatar fmvilas commented on August 21, 2024

Thanks, @lwielek! Great job describing the feature.

from spec.

stale avatar stale commented on August 21, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from spec.

github-actions avatar github-actions commented on August 21, 2024

This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 30 days if no further activity occurs. To unstale this issue, add a comment with detailed explanation.
Thank you for your contributions ❤️

from spec.

github-actions avatar github-actions commented on August 21, 2024

This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 30 days if no further activity occurs. To unstale this issue, add a comment with detailed explanation.
Thank you for your contributions ❤️

from spec.

smoya avatar smoya commented on August 21, 2024

This was solved by #654

from spec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.