When constructing a new OpenLineageResource object, a ServiceFactory is required therefore not allowing users to inject, possibly their own, OpenLineageService implementation. Let's define the constructor OpenLineageResource(OpenLineageService) and deprecate the usage of OpenLineageResource(ServiceFactory).
When constructing a new
OpenLineageResourceobject, aServiceFactoryis required therefore not allowing users to inject, possibly their own,OpenLineageServiceimplementation. Let's define the constructorOpenLineageResource(OpenLineageService)and deprecate the usage ofOpenLineageResource(ServiceFactory).