macula_bootstrap_registry (macula v0.20.5)
View SourceBootstrap Registry - Thin wrapper around macula_routing_server DHT.
Delegates all storage/lookup operations to the DHT routing server. Bootstrap nodes use the DHT's built-in key-value storage for: 1. RPC Services - Advertised RPC endpoints 2. Pub/Sub Topics - Topic subscriptions
The DHT routing_server handles storage, TTL, and cleanup internally.
Summary
Functions
Generic delete (delegates to DHT)
Generic lookup (delegates to DHT)
Lookup RPC service by key (delegates to DHT)
Lookup subscribers for a topic (delegates to DHT)
Generic store (delegates to DHT)
Store RPC service registration (delegates to DHT)
Store pub/sub topic subscription (delegates to DHT)
Functions
-spec delete(Key :: binary()) -> ok | {error, not_found}.
Generic delete (delegates to DHT)
Generic lookup (delegates to DHT)
Lookup RPC service by key (delegates to DHT)
Lookup subscribers for a topic (delegates to DHT)
Generic store (delegates to DHT)
Store RPC service registration (delegates to DHT)
Store pub/sub topic subscription (delegates to DHT)