Establish plugin infrastructure for ConnKey factories.

ConnKey factories are intermediaries that encapsulate the details of how to
instantiate ConnKeys, which codify the hash input for connection lookups.
This commit is contained in:
Christian Kreibich 2025-04-09 18:49:25 -07:00 committed by Arne Welzel
parent d19fdfd17c
commit 0c64f6a7b9
12 changed files with 257 additions and 0 deletions

View file

@ -52,6 +52,8 @@ void Component::Describe(ODesc* d) const {
case component::STORAGE_SERIALIZER: d->Add("Storage Serializer"); break;
case component::CONNKEY: d->Add("ConnKey Factory"); break;
default:
reporter->InternalWarning("unknown component type in plugin::Component::Describe");
d->Add("<unknown component type>");

View file

@ -38,6 +38,7 @@ enum Type : uint8_t {
LOG_SERIALIZER, /// A serializer for log batches, used by cluster backends.
STORAGE_BACKEND, /// A backend for the storage framework.
STORAGE_SERIALIZER, /// A serializer for the storage framework.
CONNKEY, /// A factory for connection keys.
};
} // namespace component