Hello Christian,
Sure, no problem I can give you a status update on the situation as of now!
The effort is mostly now to get/find a supported third-party Python library that does not use asyncio for usage in a oslo.messaging driver.
The investigation into introducing asyncio support in the ecosystem (oslo and then all separate projects) was a too massive effort.
Since then I’ve opened an issue [1] on the nats.py GitHub and some proof-of-concept patches [2] on introducing synchronous support in nats.py that we could then use in a driver.
The oslo.messaging driver patch [3] has Devstack passing when using [2] but it’s also more of a proof-of-concept patch that would need more work in itself.
Unfortunately I didn’t get any feedback from the company maintaining the nats.py library on supported developer time implemeting the sync client feature, I assume (my view) that they didn’t like that we cannot guarantee that NATS would become a core component (or used, or the primary bus) in the ecosystem (since we don’t, and don’t want to for that matter, force a backend/driver on operators).
Any help is of course appreciated, right now this is not a top priority and I don’t spend any full-time effort into it.
Best regards Tobias
[1] https://github.com/nats-io/nats.py/issues/462 [2] https://github.com/tobias-urdin/nats.py/commits/sync-client [3] https://review.opendev.org/c/openstack/oslo.messaging/+/878588
On 14 Jul 2023, at 09:37, Christian Rohmann christian.rohmann@inovex.de wrote:
On 12/09/2022 09:05, Tobias Urdin wrote:
Hello,
Since I haven’t heard any objections we’ll move the meeting to the Oslo meeting on the 19th of September. See you there! [1]
Could you maybe give an update on the current state on adding NATS to oslo.messaging?
I know there was some positive exchange during an Oslo Meeting [1], but now all but the spec change [2] are abandoned? Is the work on the spec [3] still going then?
Regards
Christian
[1] https://meetings.opendev.org/meetings/oslo/2022/oslo.2022-09-19-15.12.log.tx... [2] https://review.opendev.org/q/topic:asyncio-nats [3] https://review.opendev.org/c/openstack/oslo-specs/+/692784