From 5c728ee6425351eee9e9fd68decc3dbb51d90b1b Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Fri, 13 Sep 2024 10:40:19 +0200 Subject: [PATCH] changesets: changesets for new events backend bus Signed-off-by: Patrik Oldsberg --- .changeset/slow-gorillas-thank.md | 9 +++++++++ .changeset/stale-roses-serve.md | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .changeset/slow-gorillas-thank.md diff --git a/.changeset/slow-gorillas-thank.md b/.changeset/slow-gorillas-thank.md new file mode 100644 index 0000000000..2c52964a47 --- /dev/null +++ b/.changeset/slow-gorillas-thank.md @@ -0,0 +1,9 @@ +--- +'@backstage/plugin-events-backend': patch +--- + +The events backend now has its own built-in event bus for distributing events across multiple backend instances. It exposes a new HTTP API under `/bus/v1/` for publishing and reading events from the bus, as well as its own storage and notification mechanism for events. + +The backing event store for the bus only supports scaled deployment if PostgreSQL is used as the DBMS. If SQLite or MySQL is used, the event bus will fall back to an in-memory store that does not support multiple backend instances. + +The default `EventsService` implementation from `@backstage/plugin-events-node` has also been updated to use the new events bus. diff --git a/.changeset/stale-roses-serve.md b/.changeset/stale-roses-serve.md index dc1ab50f88..29dee56e22 100644 --- a/.changeset/stale-roses-serve.md +++ b/.changeset/stale-roses-serve.md @@ -2,4 +2,4 @@ '@backstage/plugin-events-node': patch --- -The `EventParams` payload must now be a `JsonValue`, and the `metadata` type has been tweaked. +The default implementation of the `EventsService` now uses the new event bus for distributing events across multiple backend instances if the events backend plugin is installed.