Skip to content

Commit 3f2ab9f

Browse files
committed
fix: SSE 수정
- 카프카 안거치고 바로 전송
1 parent e12f6f8 commit 3f2ab9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/dfbf/soundlink/domain/alert/controller/AlertController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class AlertController {
2121
public SseEmitter subscribe(
2222
@AuthenticationPrincipal Long id,
2323
@RequestHeader(value = "Last-Event-ID", required = false, defaultValue = "") String lastEventId) {
24+
System.out.println("id = " + id);
2425
return alertService.connectAlarm(id, lastEventId);
2526
}
2627

0 commit comments

Comments
 (0)