prosody 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f51af8dfb50cdab48f5a2a60c0ae761f26ce082ce3be41c538c1642a7147871e
4
- data.tar.gz: 293c854498dbb467a1ea5aaccb774bc4d4db997e432f03b407cc7b6518de15e7
3
+ metadata.gz: 71b923311dd355d3fcadeec1230bf1240a53357541985b277a71728c4ae985c4
4
+ data.tar.gz: 8802a27c3aafed3cc815a8add13731f044d1e1afe9b97571f6cab330c069b61f
5
5
  SHA512:
6
- metadata.gz: 4f7f4a6ec8fb471110213bcf7ba47d38bd06393f0a072afe403fe25a1ed8ee3924444ecd91e26a06207807916c22f4d0c1e803679f9aa75dec80e35f3d64c361
7
- data.tar.gz: 584bd14a5ea9e2e806434ee06eea31ace62930b53f7e8c926e8536193d6500389b86f40fe4c7702b9fe06913d347c16f82a1e280c7bff381d2c0d46b14fb2d12
6
+ metadata.gz: 63a7c99772debb1c4bbe433eda845da7dfd459a8bd8dddfc83e1268858391ef0d6f73b7bbde8c3f013eb1359b9534b425d742e219d6390149d5a47a52568eb1d
7
+ data.tar.gz: dd9f64f5c2987bee825827976d7d1cc2061c4825076e07c86907f876aa15739f660fc4c1e25285ff1b05691b4f2d010c928dcf3692ebe00c6ee059b3205dc042
data/.config/rail.toml CHANGED
@@ -1,5 +1,5 @@
1
1
  [plan.work.ci]
2
- paths = [".config/rail.toml", ".github/**", ".taplo.toml", "Makefile"]
2
+ paths = [".config/rail.toml", ".github/**"]
3
3
  scope = "repository"
4
4
 
5
5
  [plan.work.ruby]
@@ -24,3 +24,7 @@ paths = [
24
24
  "typecheck_negative/**",
25
25
  ]
26
26
  scope = "repository"
27
+
28
+ [plan.work.taplo]
29
+ paths = [".taplo.toml"]
30
+ scope = "repository"
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.6.0"
2
+ ".": "0.7.0"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.7.0](https://github.com/prosody-events/prosody-rb/compare/prosody/v0.6.1...prosody/v0.7.0) (2026-11-13)
4
+
5
+
6
+ ### Features
7
+
8
+ * **deps:** upgrade prosody to 0.8.0 ([#65](https://github.com/prosody-events/prosody-rb/issues/65)) ([2e2c81f](https://github.com/prosody-events/prosody-rb/commit/2e2c81fa7253e6c4eecbf822897f6ebf3ace13fb))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** upgrade dependencies ([#63](https://github.com/prosody-events/prosody-rb/issues/63)) ([eaca537](https://github.com/prosody-events/prosody-rb/commit/eaca53706bcbd9118fa5dfbb0296b9505bb11a24))
14
+
15
+ ## [0.6.1](https://github.com/prosody-events/prosody-rb/compare/prosody/v0.6.0...prosody/v0.6.1) (2026-10-13)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **deps:** upgrade prosody to 0.7.1 ([#58](https://github.com/prosody-events/prosody-rb/issues/58)) ([54e0556](https://github.com/prosody-events/prosody-rb/commit/54e0556190290985f5dae16bddb09a0dbf8afdd6))
21
+
3
22
  ## [0.6.0](https://github.com/prosody-events/prosody-rb/compare/prosody/v0.5.1...prosody/v0.6.0) (2026-10-02)
4
23
 
5
24
 
data/CONFIGURATION.md CHANGED
@@ -40,14 +40,17 @@ Set `subsystem` to make this client answer requests. Without it, the client cons
40
40
  | Option / Environment Variable | Description | Default |
41
41
  |-----------------------------------------|------------------------------------------------------|------------------------|
42
42
  | `max_concurrency` / `PROSODY_MAX_CONCURRENCY` | Max messages being processed simultaneously | 32 |
43
- | `max_uncommitted` / `PROSODY_MAX_UNCOMMITTED` | Max queued messages before pausing consumption | 64 |
43
+ | `max_uncommitted` / `PROSODY_MAX_UNCOMMITTED` | Max decoded messages in flight across all partitions; at the limit, partitions stop reading | 64 |
44
44
  | `timeout` / `PROSODY_TIMEOUT` | Cancel handler if it runs longer than this | 80% of stall threshold |
45
- | `commit_interval` / `PROSODY_COMMIT_INTERVAL` | How often to save progress to Kafka | 1s |
45
+ | `commit_interval` / `PROSODY_COMMIT_INTERVAL` | How often to save progress to Kafka | 1s |
46
46
  | `poll_interval` / `PROSODY_POLL_INTERVAL` | How often to fetch new messages from Kafka | 100ms |
47
47
  | `shutdown_timeout` / `PROSODY_SHUTDOWN_TIMEOUT` | Shutdown budget; handlers run freely until cancellation fires near the end of the timeout | 30s |
48
48
  | `stall_threshold` / `PROSODY_STALL_THRESHOLD` | Report unhealthy if no progress for this long | 5m |
49
49
  | `probe_port` / `PROSODY_PROBE_PORT` | HTTP port for health checks; use `false`, `:disabled`, or the environment value `none` to disable | 8000 |
50
- | `statistics_interval` / `PROSODY_STATISTICS_INTERVAL` | How often librdkafka reports client statistics; must be between 1ms and 24h | 5s |
50
+ | `statistics_interval` / `PROSODY_STATISTICS_INTERVAL` | How often librdkafka reports client statistics | 5s |
51
+ | `partition_prefetch` / `PROSODY_PARTITION_PREFETCH` | Bytes of fetched records that wait for each assigned partition; accepts sizes such as `128 KiB`. Fetched memory grows with the number of assigned partitions (about two times this value, plus one batch, per partition) | 128 KiB |
52
+ | `fetch_max_bytes` / `PROSODY_FETCH_MAX_BYTES` | Maximum bytes in one fetch response from one broker; accepts sizes such as `50 MiB` | 50 MiB |
53
+ | `fetch_wait` / `PROSODY_FETCH_WAIT` | How long a broker can hold a fetch request when no new records are available. A shorter wait lowers the delay for a partition that is behind, but an idle consumer sends more fetch requests | 500ms |
51
54
  | `failure_topic` / `PROSODY_FAILURE_TOPIC` | Send unprocessable messages here (dead letter queue) | - |
52
55
  | `idempotence_cache_size` / `PROSODY_IDEMPOTENCE_CACHE_SIZE` | Capacity of the producer idempotence cache and of the consumer deduplication cache. Consumer deduplication cannot be turned off, so the value must be at least 1 | 8192 |
53
56
  | `idempotence_version` / `PROSODY_IDEMPOTENCE_VERSION` | Version string for cache-busting dedup hashes | 1 |