Bootstrap from registry - part 7

This commit is contained in:
mdecimus
2026-02-03 12:23:05 +01:00
parent 262aed19af
commit 7c8be27fcf
93 changed files with 1206 additions and 9398 deletions

View File

@@ -12,7 +12,7 @@ impl Coordinator {
match self {
#[cfg(feature = "redis")]
Coordinator::Redis(store) => {
crate::backend::redis::redis_publish(store, topic, message).await
crate::backend::redis::pubsub::redis_publish(store, topic, message).await
}
#[cfg(feature = "nats")]
Coordinator::Nats(store) => store.publish(topic, message).await,
@@ -27,7 +27,9 @@ impl Coordinator {
pub async fn subscribe(&self, topic: &'static str) -> trc::Result<PubSubStream> {
match self {
#[cfg(feature = "redis")]
Coordinator::Redis(store) => crate::backend::redis::redis_subscribe(store, topic).await,
Coordinator::Redis(store) => {
crate::backend::redis::pubsub::redis_subscribe(store, topic).await
}
#[cfg(feature = "nats")]
Coordinator::Nats(store) => store.subscribe(topic).await,
#[cfg(feature = "zenoh")]