Stream events from springboot2 stopped SSE after the 1st message.
See original GitHub issueResilience4j version: 1.6.1
Java version: 8
Desc:
/actuator/stream-circuitbreaker-events
stops/terminates the connection right after consuming the 1st message. I could not trace out to any exception from producer side or consumer side. I tried consuming from curl , postman etc. I verified that consumer is not terminating the connection.
This experience is only from Springboot2. ratpack is producing SSE continuously.
I can take a dive but creating an issue for now so that other developers might find it
e.g
curl -v http://localhost:9080/actuator/stream-circuitbreaker-events
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 9080 (#0)
> GET /actuator/stream-circuitbreaker-events HTTP/1.1
> Host: localhost:9080
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 200 OK
< transfer-encoding: chunked
< Content-Type: text/event-stream;charset=UTF-8
<
id:backendA
event:SUCCESS
data:{"circuitBreakerName":"backendA","type":"SUCCESS","creationTime":"2020-12-14T10:45:10.037228-06:00[America/Chicago]","errorMessage":null,"durationInMs":0,"stateTransition":null}
* Connection #0 to host localhost left intact
* Closing connection 0
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Server sent event - Stream is not reconnecting after few ...
When the migration is complete, you will access your Teams at stackoverflowteams.com, and they will no longer appear in the left sidebar on ......
Read more >Server-Sent Events in Spring - Baeldung
Understanding Server-Sent Events An SSE is a specification adopted by most browsers to allow streaming events unidirectionally at any time. The ...
Read more >Server-Sent Events (SSE) in Spring 5 with Web MVC and Web ...
When updates are available, the server sends a response to the client and closes the connection. If updates are not available for some...
Read more >Full Reactive Stack with Spring Boot, WebFlux and MongoDB
A practical guide to building a full-reactive web app with Spring Boot (WebFlux) and MongoDB with its reactive driver.
Read more >Analyzing data stream with Siddhi and Spring Boot 2
First of all, I'm using the se.transmode.gradle:gradle-docker:1.2 plugin that allows me to build a docker image for the application. That's why ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sure. Will do
Closing this issue as PR is merged