Open docktermj opened 4 years ago
Is your feature request related to a problem? Please describe. Support "transforming" in stream-producer.py This would make a true "ETL".
stream-producer.py
This would be similar to techniques used at:
Where "plugins" would be used to perform the Transforming. The plugin would receive a "record" as a python dictionary and return a list of 0 or more python dictionaries
class Transformer: def __init__(self, g2_engine=None, *args, **kwargs): self.g2_engine = g2_engine def transform(self, message=None, hint=None, *args, **kwargs): assert type(message) == dict messages = [dict1, dict2] return messages
Sounds good. I'm ready to code these classes. I assume I will create ... DNBTransformer.py IJICTransformer.py DowJonesTransformer.py etc?
Ref.: https://senzing.zendesk.com/hc/en-us/articles/360054097153-Advanced-mapping-concepts
Is your feature request related to a problem? Please describe. Support "transforming" in
stream-producer.py
This would make a true "ETL".This would be similar to techniques used at:
Where "plugins" would be used to perform the Transforming. The plugin would receive a "record" as a python dictionary and return a list of 0 or more python dictionaries