Commit 9c1f4b4
authored
chore(main): release 3.0.0 (#15)
### Breaking Changes
* **client:** `Client.receive_messages/3` callback return type changed from a bare message list to
`{:ok, messages} | {:error, reason}`. Any custom client implementation must be updated to return tagged
tuples.
* **options:** Removed deprecated `:only_new` and `:only_latest` options. Use `:jobs` with `:new` or
`:latest` instead.
### Features
* **telemetry:** Emit `[:off_broadway_splunk, :receive_messages, :error]` when fetching events for a job
fails (HTTP error or network error). Metadata includes `:name`, `:sid`, `:demand`, and either `:status`
(HTTP) or `:reason` (network).
* **telemetry:** Emit `[:off_broadway_splunk, :receive_jobs, :error]` when fetching the job list fails
(HTTP error or network error). Metadata includes `:name` and either `:status` (HTTP) or `:reason`
(network).
* **telemetry:** Emit `[:off_broadway_splunk, :producer, :stop]` when the producer terminates due to a
non-transient error (e.g. `:unauthorized` after a 401/403 response).
* **producer:** Stop the producer on HTTP 401 or 403 responses from either the job list or message fetch
endpoints, since these errors will not resolve without operator intervention.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 46fba50 commit 9c1f4b4
3 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
3 | 14 | | |
4 | 15 | | |
5 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments