https://linen.dev logo
#singer-tap-development
Title
# singer-tap-development
m

Matt Menzenski

04/07/2023, 1:07 PM
What are best practices for setting
_sdc
metadata fields in a tap? I haven’t found much in the way of examples of this (tap-singer-jsonl is one example). The documentation makes it seem like it’s something that’s handled by targets, but I would like to set it in my tap. (Specificially, my tap’s records can include the MongoDB cluster timestamp, which I’d like to map to the
_sdc_extracted_at
field). Is it as simple as adding a boolean
add_record_metadata
setting to the tap and setting that field if this config property is true?