Registry for ClusterHelper pluggable adapters.
Each subsystem (broadcast, role store, remote sync) is defined as a behaviour and can be swapped at the application config level:
config :cluster_helper, ClusterHelper.Adapter,
broadcast: ClusterHelper.Broadcast.PG,
role_store: ClusterHelper.ETSStore,
remote_sync: ClusterHelper.RemoteSync.ERPCWhen no config is given each type falls back to its default adapter listed above, so existing projects work without any configuration change.
Summary
Functions
Returns the configured adapter module for the given type.
Types
Functions
@spec for(adapter_type()) :: module()
Returns the configured adapter module for the given type.
Config can be a map or keyword list (both are common in Elixir config).