Skip to content

Commit

Permalink
[websocket] Change EventWebSocketAdapter adapter id to events (open…
Browse files Browse the repository at this point in the history
…hab#4540)

This is aligns the event WS name with the SSE events endpoint.
This is a breaking change for clients that have explicitly used `/ws/event-subscriber` instead of the default `/ws`.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
  • Loading branch information
florian-h05 authored Jan 6, 2025
1 parent 13eeea9 commit f8fdd66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@NonNullByDefault
@Component(immediate = true, service = { EventSubscriber.class, WebSocketAdapter.class })
public class EventWebSocketAdapter implements EventSubscriber, WebSocketAdapter {
public static final String ADAPTER_ID = "event-subscriber";
public static final String ADAPTER_ID = "events";
private final Gson gson = new Gson();
private final EventPublisher eventPublisher;

Expand Down

0 comments on commit f8fdd66

Please sign in to comment.