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

Add a simple test broker to correo (as plugin) #73

Open
farion opened this issue Feb 28, 2021 · 6 comments
Open

Add a simple test broker to correo (as plugin) #73

farion opened this issue Feb 28, 2021 · 6 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@farion
Copy link
Member

farion commented Feb 28, 2021

To start up fast with MQTT, it would be nice to have an option to start a simple broker from within correo.

My proposal is to use Moquette as it is written in java and can be used embedded: https://github.com/moquette-io/moquette

  • Plugin must add a further menu point to tools "Local Broker". (new extension point required)
  • This will open a small window with at least these options: "Port" defaults to 1883, "Start broker on CorreoMQTT start", "Start"-Button. Maybe some more options like SSL and SSL-Port ... depends on what moquette is able to do.
  • As long as the broker runs there is a new bar above the tabs. "Local broker is running on port xxxx" + "Stop"-button (new extension point required). If the broker is running, the menu point must also change to "Stop local broker" of course.
  • "Port", "Start broker on CorreoMQTT start" must be persisted (use a dedicated file, as it is a plugin only thing)
@raujonas
Copy link
Collaborator

raujonas commented Mar 8, 2021

@farion can I work on this issue next? 😊 If yes, could you please open a new repo for the plugin?

@farion
Copy link
Member Author

farion commented Mar 8, 2021

@raujonas Sure you can :). Regarding the new extension point for menus given by plugins: @al-salah is working on EXXETA/correomqtt-plugins#2 and needs this too, so we need some coordination.
As a second extension point is required for this ticket and I would only do one additional release caused by extension points I would propose to use a new branch together with these additional extension points.

@raujonas
Copy link
Collaborator

raujonas commented Mar 9, 2021

@farion @al-salah okay good to know, I think I could just pick these changes from the new branch (https://github.com/al-salah/correomqtt/tree/AsyncAPI_Integration_plugin) right?.

@farion could you please create a new repo for the plugin under the exxeta group?

@ghost
Copy link

ghost commented Mar 9, 2021

@farion i also need a repo for asyncapi pulgin (:

@raujonas yes you can theoretically pick the changes for the additional extension points from there

@raujonas raujonas self-assigned this Mar 10, 2021
@raujonas
Copy link
Collaborator

@farion I'm having issues with integrating Moquette because JCenter is not available anymore: moquette-io/moquette#565 (comment)

I'm not sure how I should handle this now, there are some repos with older versions on maven central but they are not public. Could you please give me a hint?

@raujonas
Copy link
Collaborator

@farion What about this: https://github.com/hivemq/hivemq-community-edition#maven
Can also be used with maven, what do you think?

@farion farion added the enhancement New feature or request label Feb 14, 2022
@farion farion moved this to Todo in CorreoMQTT Feb 14, 2022
@farion farion removed the status in CorreoMQTT Feb 14, 2022
@farion farion added this to the 1.0.0 milestone May 31, 2022
@farion farion modified the milestones: 1.0.0, 2.0 Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants