prosody 0.1.1-aarch64-linux → 0.1.2-aarch64-linux

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: 578ef32bca6763e6bf5c4abb5ef4ec2ca262cef7ad3ffdb4287f65be39206ee5
4
- data.tar.gz: 906472277e1d55c4a54ff6b0cd662702fc36ae66dc63141717d3d70c548ccef7
3
+ metadata.gz: db7c7904ac0a3e9b964d6d9de054c92c888f76d1bc60935b18062ef4203ccda5
4
+ data.tar.gz: 2aeb12f1e1d259a11a164f81a60c2f7441f50569d6481a008aa09d659a562d35
5
5
  SHA512:
6
- metadata.gz: 5e7f2914a7fcfa4066e882d7d4eaf3c347c992a9a7c472392568e38f22d42bba20bb790837a3eb95381f10281e3358122143d4cd33554e90f76a7778f8b5d7c9
7
- data.tar.gz: '028120a84c256451262bde1473276ff34818fedff6a1857e627ca03f534811332420af420c123a0f9d3d3a3a2cb255e1aa239766b56cbc66dc7457b82e5db8c9'
6
+ metadata.gz: bffd1024ede6fbce4bd6e846c1f41670b8991f686e6d204c393c8cdfedec76149002ed8f0aba70fa0fceeb49aa1a7646e134d0a005023a82629fc08bb40a4cb0
7
+ data.tar.gz: acdb7c669a2d7a60217dc198a2f231368b592ff0e1dd1b4eefff2900bf86e0e2ea0a2e4e60bb35c2e27d8d89d571888a452dae27ba1e7616f67b96b65e4c0d00
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.1.1"
2
+ ".": "0.1.2"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.2](https://github.com/prosody-events/prosody-rb/compare/prosody/v0.1.1...prosody/v0.1.2) (2026-04-20)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **deps:** upgrade prosody to 0.1.2 ([#12](https://github.com/prosody-events/prosody-rb/issues/12)) ([381a5d9](https://github.com/prosody-events/prosody-rb/commit/381a5d9b53092680bb81bef406b3180ec6ace305))
9
+
3
10
  ## [0.1.1](https://github.com/prosody-events/prosody-rb/compare/prosody/v0.1.0...prosody/v0.1.1) (2026-04-14)
4
11
 
5
12
 
data/README.md CHANGED
@@ -225,6 +225,7 @@ When a handler fails, retry with exponential backoff:
225
225
  | `defer_failure_threshold` / `PROSODY_DEFER_FAILURE_THRESHOLD` | Disable deferral when failure rate exceeds this | 0.9 |
226
226
  | `defer_failure_window` / `PROSODY_DEFER_FAILURE_WINDOW` | Measure failure rate over this time window | 5m |
227
227
  | `defer_cache_size` / `PROSODY_DEFER_CACHE_SIZE` | Track this many deferred keys in memory | 1024 |
228
+ | `defer_store_cache_size` / `PROSODY_DEFER_STORE_CACHE_SIZE` | Maximum deferred store cache entries per Cassandra defer store | 8192 |
228
229
  | `defer_seek_timeout` / `PROSODY_DEFER_SEEK_TIMEOUT` | Timeout when loading deferred messages | 30s |
229
230
  | `defer_discard_threshold` / `PROSODY_DEFER_DISCARD_THRESHOLD` | Read optimization (rarely needs changing) | 100 |
230
231
 
@@ -0,0 +1,67 @@
1
+ services:
2
+ lgtm:
3
+ image: grafana/otel-lgtm:latest
4
+ ports:
5
+ - "3000:3000" # Grafana UI
6
+ - "4317:4317" # OTLP gRPC ingest
7
+ - "4318:4318" # OTLP HTTP ingest
8
+ - "3200:3200" # Tempo API
9
+ volumes:
10
+ - lgtm_data:/data
11
+ environment:
12
+ GF_PATHS_DATA: /data/grafana
13
+
14
+ kafka:
15
+ image: apache/kafka:latest
16
+ ports:
17
+ - "9094:9094"
18
+ volumes:
19
+ - "kafka_data:/var/lib/kafka/data"
20
+ environment:
21
+ # KRaft settings
22
+ KAFKA_NODE_ID: 0
23
+ KAFKA_PROCESS_ROLES: controller,broker
24
+ KAFKA_CONTROLLER_QUORUM_VOTERS: 0@kafka:9093
25
+ # Listeners
26
+ KAFKA_LISTENERS: PLAINTEXT://:9092,CONTROLLER://:9093,EXTERNAL://:9094
27
+ KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,EXTERNAL://localhost:9094
28
+ KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,EXTERNAL:PLAINTEXT,PLAINTEXT:PLAINTEXT
29
+ KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER
30
+ KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
31
+ # Single-node settings - required for internal topics
32
+ KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
33
+ KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
34
+ KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
35
+ healthcheck:
36
+ test: [ "CMD-SHELL", "/opt/kafka/bin/kafka-topics.sh --bootstrap-server localhost:9092 --list" ]
37
+ interval: 15s
38
+ timeout: 10s
39
+ retries: 15
40
+ cassandra:
41
+ image: cassandra:latest
42
+ ports:
43
+ - "9042:9042"
44
+ volumes:
45
+ - cassandra_data:/var/lib/cassandra
46
+ healthcheck:
47
+ test: [ "CMD-SHELL", "cqlsh -e 'SELECT cluster_name FROM system.local;'" ]
48
+ interval: 15s
49
+ timeout: 10s
50
+ retries: 15
51
+ console:
52
+ image: docker.redpanda.com/redpandadata/console:latest
53
+ entrypoint: /bin/sh
54
+ command: -c 'echo "$$CONSOLE_CONFIG_FILE" > /tmp/config.yml; /app/console'
55
+ environment:
56
+ CONFIG_FILEPATH: /tmp/config.yml
57
+ CONSOLE_CONFIG_FILE: |
58
+ kafka:
59
+ brokers: ["kafka:9092"]
60
+ ports:
61
+ - "8080:8080"
62
+ depends_on:
63
+ - kafka
64
+ volumes:
65
+ kafka_data:
66
+ cassandra_data:
67
+ lgtm_data:
Binary file
Binary file
Binary file
@@ -244,6 +244,9 @@ module Prosody
244
244
  # Cache size for defer middleware.
245
245
  config_param :defer_cache_size, converter: ->(v) { Integer(v) }
246
246
 
247
+ # Maximum deferred store cache entries per Cassandra defer store. Env: PROSODY_DEFER_STORE_CACHE_SIZE
248
+ config_param :defer_store_cache_size, converter: ->(v) { Integer(v) }
249
+
247
250
  # Timeout for Kafka seek operations (in seconds).
248
251
  config_param :defer_seek_timeout, converter: ->(v) { duration_converter(v) }
249
252
 
@@ -6,5 +6,5 @@ module Prosody
6
6
  # This version number follows semantic versioning and is used by the
7
7
  # gem system to identify the library version. It should be updated
8
8
  # according to semver guidelines when making releases.
9
- VERSION = "0.1.1"
9
+ VERSION = "0.1.2"
10
10
  end
@@ -202,6 +202,10 @@ module Prosody
202
202
  def defer_cache_size: () -> Integer?
203
203
  def defer_cache_size=: (Integer | _ToInt) -> Integer
204
204
 
205
+ # Maximum deferred store cache entries. Env: PROSODY_DEFER_STORE_CACHE_SIZE
206
+ def defer_store_cache_size: () -> Integer?
207
+ def defer_store_cache_size=: (Integer | _ToInt) -> Integer
208
+
205
209
  # Defer seek timeout (seconds)
206
210
  def defer_seek_timeout: () -> Float?
207
211
  def defer_seek_timeout=: (Numeric) -> Float
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prosody
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Joshua Griffith
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-04-14 00:00:00.000000000 Z
11
+ date: 2026-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async
@@ -116,6 +116,7 @@ files:
116
116
  - Makefile
117
117
  - README.md
118
118
  - Rakefile
119
+ - docker-compose.yaml
119
120
  - lib/prosody.rb
120
121
  - lib/prosody/3.2/prosody.so
121
122
  - lib/prosody/3.3/prosody.so