New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala Common Enrich: etl_tstamp in Enrichment Manager should be a Joda DateTime not a String #1841
Comments
Pushing back to R69 |
This will ensure better type safety... |
The nice thing about keeping this a String rather than a DateTime in the EnrichmentManager is that it means we don't need to convert the DateTime to a Redshift-compatible string with every event we process. Instead we could make EtlPipeline a class rather than an object and give it a constructor with a DateTime etlTstamp parameter. |
Hmm - how would the EtlPipeline as a class sit with Kinesis Enrich? Given that the output for Common Enrich won't be Redshift-formatted in a few releases' time anyway, I'm not too stressed about the conversion (in other words, soon we will have lots of conversions anyway). |
With Kinesis Enrich you would create a new EtlPipeline with a new timestamp (or update the timestamp of the existing EtlPipeline) for every call to GetRecords. But proportionally, the effect on performance should be pretty small, so maybe we just make it a DateTime and do the conversion in each call to |
Thanks for clarifying - yep - I think let's just make it a DateTime... |
No description provided.
The text was updated successfully, but these errors were encountered: