Spark: Server Sent Events Support *Enhancement

Created on 26 Oct 2015  Â·  16Comments  Â·  Source: perwendel/spark

I look into the documentation and i didn't find anything about SSE support, does Spark supports it? or there's a chance to implement it? that would be cool :)

Feature request Please prioritize

Most helpful comment

I just added a pull request with sse for spark

All 16 comments

I also want to know how to support Server Sent Events

If you're in a hurry, perhaps look into Java Easy SSE: https://github.com/mariomac/jeasse ?
It should be relatively easy to integrate in a Spark app by deploying it as a servlet.

@avarabyeu check your repo privacy settings - I wasn't able to see your example.

Is this in limbo or set for a release this year?

I just added a pull request with sse for spark

980 for easier reference

is there an update for this (or alternatives) ?, thank you

Well you can clone the forked repo from here

https://github.com/mtzagkarakis/spark

I am keeping it updated. I also used it for my projects using jitpack as a repository in my pom.xml
You can do it like that:

//adding a repository

        <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>

and then adding a dependency

      <dependency>
          <groupId>com.github.mtzagkarakis</groupId>
          <artifactId>spark</artifactId>
          <!--Hash of the commit with server sent event capabilities-->
          <version>c32dc92039c4530a1c205f092c98be10c83080a8</version>
      </dependency>

980 looks like outputting sse from spark via a rest interface? What if I have a sse server and I want to receive the sse in spark is there already something or do I need to implement my own custom receiver?

Hey Any Movement or prioritization of this request, would make spark pretty much complete from feature perspective. If it was supported like websockets have been where it's easy to setup

@irfman12 hey. We'll look at it for the upcoming 3.0 release that is planned to be released during the fall!

Okay thanks for the roadmap

On Sun, Aug 4, 2019, 11:01 AM Per Wendel notifications@github.com wrote:

@irfman12 https://github.com/irfman12 hey. We'll look at it for the
upcoming 3.0 release that is planned to be released during the fall!

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/perwendel/spark/issues/375?email_source=notifications&email_token=AAE5QCUGUZAYZO3QVFZNE3TQC3VNRA5CNFSM4BSXTIJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3QDPAQ#issuecomment-518010754,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE5QCW7JGTHQGYXRDGBDTLQC3VNRANCNFSM4BSXTIJQ
.

I want to write streaming microservices using Spark, so this would be a huge improvement for me!

Any updates on this?

It was never merged so no

On Wed, Feb 3, 2021, 20:23 Anatoly notifications@github.com wrote:

Any updates on this?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/perwendel/spark/issues/375#issuecomment-772714401,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABT4X77MUTWMPVW3EZVEIU3S5GHS5ANCNFSM4BSXTIJQ
.

It was never merged so no
…
On Wed, Feb 3, 2021, 20:23 Anatoly @.*> wrote: Any updates on this? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#375 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT4X77MUTWMPVW3EZVEIU3S5GHS5ANCNFSM4BSXTIJQ .

It is very, very sad... :confused:

Was this page helpful?
0 / 5 - 0 ratings