Skip to content

Discussing about SSE implementation #5

@aesteve

Description

@aesteve

https://github.com/aesteve/vertx-sse

Project name

Vert.x SSE
Coordinates could be like : io.reactiverse:vertx-sse:1.0.0

Project goal

Provide a way to deal with Server-Sent-Events with Vert.x

Licensing

Apache 2.0

Motivation to the join the reactiverse

I'd like to open the discussion and hear about your opinion, more than really proposing it to the reactiverse directly.
The projects provides facilities to "plug" SSE implementation onto a vertx-web router, and also an EventSource client (based on Vert.x core).
Many possibilities :

  1. Integrated into respectively vertx-web and vertx-core: Tests are depending on one another, (testing the EvenSource client impl agains the SSEHandler server-side implementation) so it makes it hard to cut the project in two parts. Moreover, it would "bloat" the core & web libraries with something a few people actually need.
  2. An "official" module : why not. I'm not really sure if codegen would be useful in that case, but that's the only difference I may see with it being on the reactiverse. One good point though, would be version alignment with vertx-web and core.
  3. Added to reactiverse

Existing implementation

https://github.com/aesteve/vertx-sse
You'll find an example you can open in your browser.
There's actually not that much code to maintain, and the SSE spec shouldn't change that much. Most of the work I did was fixing bugs (connection closed, etc.), or aligning with latest vertx-versions.

Please let me know if you think it's a good fit or not.

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions