alberto_miorin
01/26/2023, 7:46 AMget_child_context
method to recursively discover the Redshift catalog. Everything works but the tap generates a lot of STATE
messages that I don't need because every run is a full scan of the catalog to generate soft deletions. Is there a way to disable the STATE
messages?tomk
01/26/2023, 2:16 PMalberto_miorin
01/27/2023, 10:51 PMalberto_miorin
01/27/2023, 10:51 PMedgar_ramirez_mondragon
01/27/2023, 11:37 PMStream.STATE_MSG_FREQUENCY
didn’t work because there’s a lot of context switching between parent and child streams (which reset the record count)
There’s no way to completely disable state messages at the moment, but can you try setting the streams’ state_partitioning_keys = {}
attribute. That should at least produce smaller state messages.
I’m trying to think if it’d be safe to omit writing state messages if the state hasn’t changed from a previous iteration.aaronsteers
01/28/2023, 5:18 AM