xtr-orm-messenger 7.1.0__tar.gz → 7.2.0__tar.gz
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.
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/PKG-INFO +6 -3
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/README.md +5 -2
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/pyproject.toml +1 -1
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/pyproject.toml.orig +1 -1
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/.agents/skills/xtr-orm-messenger/SKILL.md +2 -1
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/LICENSE +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/__init__.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/exception/__init__.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/exception/invalid_orm_dsn_error.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/exception/orm_messenger_error.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/exception/transport_error.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/py.typed +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/recipe/__init__.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/recipe/manifest.toml +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/__init__.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/_database_errors.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/connection.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/messages_table.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/messages_table_driver.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/messages_tables.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/orm_options.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/orm_received_stamp.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/orm_receiver.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/orm_sender.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/orm_transport.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/orm_transport_factory.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/postgresql_notifier.py +0 -0
- {xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/stored_message.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xtr-orm-messenger
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.2.0
|
|
4
4
|
Summary: A database transport for xtr-messenger: messages kept in a table on an xtr-orm connection, claimed by workers, delayed, redelivered and woken by notifications.
|
|
5
5
|
Keywords: message-bus,message-queue,transport,database,sqlalchemy,asyncio
|
|
6
6
|
Author: Xterr
|
|
@@ -121,6 +121,9 @@ an `ErrorDetailsStamp` with why the last one failed. Once its attempts run out t
|
|
|
121
121
|
the `failure_queue` of the same table, `failed` unless named otherwise, where `count()`, `all()`
|
|
122
122
|
and `find()` on a transport reading that queue show it, and a worker consuming it tries it
|
|
123
123
|
again, with a fresh count. A message failing for good in the failure queue itself is deleted.
|
|
124
|
+
With a `failure_transport` configured for the transport, the worker sends a message whose
|
|
125
|
+
attempts ran out there instead, and the row is deleted: `failure_queue` is where it goes only
|
|
126
|
+
when the configuration names no failure transport.
|
|
124
127
|
The worker asks the transport before it announces a failure, so `WorkerMessageFailedEvent`
|
|
125
128
|
carries `will_retry=True` for an attempt that will be made again.
|
|
126
129
|
|
|
@@ -291,8 +294,8 @@ Everything this library raises derives from `OrmMessengerError`, itself a
|
|
|
291
294
|
|
|
292
295
|
## Upgrading
|
|
293
296
|
|
|
294
|
-
What changes for an application moving to 7.0, and how to keep the old behaviour
|
|
295
|
-
still possible: [Upgrading
|
|
297
|
+
What changes for an application moving to 7.0 and to 7.1, and how to keep the old behaviour
|
|
298
|
+
where that is still possible: [Upgrading](../../UPGRADING.md).
|
|
296
299
|
|
|
297
300
|
## Development
|
|
298
301
|
|
|
@@ -98,6 +98,9 @@ an `ErrorDetailsStamp` with why the last one failed. Once its attempts run out t
|
|
|
98
98
|
the `failure_queue` of the same table, `failed` unless named otherwise, where `count()`, `all()`
|
|
99
99
|
and `find()` on a transport reading that queue show it, and a worker consuming it tries it
|
|
100
100
|
again, with a fresh count. A message failing for good in the failure queue itself is deleted.
|
|
101
|
+
With a `failure_transport` configured for the transport, the worker sends a message whose
|
|
102
|
+
attempts ran out there instead, and the row is deleted: `failure_queue` is where it goes only
|
|
103
|
+
when the configuration names no failure transport.
|
|
101
104
|
The worker asks the transport before it announces a failure, so `WorkerMessageFailedEvent`
|
|
102
105
|
carries `will_retry=True` for an attempt that will be made again.
|
|
103
106
|
|
|
@@ -268,8 +271,8 @@ Everything this library raises derives from `OrmMessengerError`, itself a
|
|
|
268
271
|
|
|
269
272
|
## Upgrading
|
|
270
273
|
|
|
271
|
-
What changes for an application moving to 7.0, and how to keep the old behaviour
|
|
272
|
-
still possible: [Upgrading
|
|
274
|
+
What changes for an application moving to 7.0 and to 7.1, and how to keep the old behaviour
|
|
275
|
+
where that is still possible: [Upgrading](../../UPGRADING.md).
|
|
273
276
|
|
|
274
277
|
## Development
|
|
275
278
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "xtr-orm-messenger"
|
|
3
|
-
version = "7.
|
|
3
|
+
version = "7.2.0"
|
|
4
4
|
description = "A database transport for xtr-messenger: messages kept in a table on an xtr-orm connection, claimed by workers, delayed, redelivered and woken by notifications."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.14.4"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "xtr-orm-messenger"
|
|
3
|
-
version = "7.
|
|
3
|
+
version = "7.2.0"
|
|
4
4
|
description = "A database transport for xtr-messenger: messages kept in a table on an xtr-orm connection, claimed by workers, delayed, redelivered and woken by notifications."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.14.4"
|
|
@@ -26,7 +26,8 @@ skill; for connections and migrations, `xtr-orm`.
|
|
|
26
26
|
`orm:migrations:diff` writes it; `messages_tables(bus_config, connection, default)` names them.
|
|
27
27
|
- Acknowledging deletes the row. Rejecting puts it back in its queue with a `RedeliveryStamp`
|
|
28
28
|
while attempts are left, then moves it to `failure_queue` — consume that queue to try it
|
|
29
|
-
again; a failure there deletes it. `
|
|
29
|
+
again; a failure there deletes it. With a `failure_transport` configured, the worker sends it
|
|
30
|
+
there instead and the row is deleted. `transport.will_retry(envelope)` says which, and the
|
|
30
31
|
worker's `WorkerMessageFailedEvent.will_retry` follows it. While a worker holds a message its claim is renewed every half of
|
|
31
32
|
`redeliver_timeout`; a row not renewed that long (a dead or frozen worker) is claimed again,
|
|
32
33
|
so handlers must be idempotent.
|
|
File without changes
|
|
File without changes
|
{xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/exception/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/recipe/__init__.py
RENAMED
|
File without changes
|
{xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/recipe/manifest.toml
RENAMED
|
File without changes
|
{xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/connection.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/orm_options.py
RENAMED
|
File without changes
|
|
File without changes
|
{xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/orm_receiver.py
RENAMED
|
File without changes
|
{xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/orm_sender.py
RENAMED
|
File without changes
|
{xtr_orm_messenger-7.1.0 → xtr_orm_messenger-7.2.0}/src/xtr_orm_messenger/transport/orm_transport.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|