Registring a new Component
Registry
The logprep.registry.Registry contains all currently supported logprep compontents
(Connectors and Processors). When implementing a new component you have to register it in the
logprep.registry.Registry by importing it and adding it to the code:mapping
attribute. This exposes it to the logprep.factory.Factory which can automatically
create the correct instances, depending on the type inside the components configuration.
Factory
The Factory reads the type field from components configurations,
retrieves the corresponding component class from the Registry and
creates a proper object.