openedx / event-routing-backends

Consume edx tracking events and transform/transmit them to other LRSs.
GNU Affero General Public License v3.0
9 stars 17 forks source link

WIP Epic: Make event transforms pluggable #275

Closed bmtcril closed 1 year ago

bmtcril commented 1 year ago

Site administrators should be able to create their own xAPI and Caliper transforms based on tracking log events. This is a placeholder epic to start gathering requirements for that work!

bmtcril commented 1 year ago

I believe that we can actually solve this as-is by writing plugins that register their own transformers here: https://github.com/openedx/event-routing-backends/blob/master/event_routing_backends/processors/transformer_utils/registry.py#L36

It appears to overwrite the default transformer if it already exists and folks could use the existing base classes to build off of (at their own risk). I believe that's all of the functionality we could want, though it would be nice to maybe wrap it up in an explicit API with docs. I think that's outside the scope for this work right now, though.