问题
Looking for a simple example of a GET rest api that produces text/event-stream. How do I keep a track of listeners, how to use emitter in spark? Basically, how do I achieve SSE using spark framework (Server side code)
来源:https://stackoverflow.com/questions/45826776/sse-implementation-in-spark-rest