Replies: 1 comment
-
Hi @andyoneal 👋 That's an interesting idea, thanks for creating an issue. Using the state for this would require the tap to be invoked with The changes in the SDK would have to go through:
These are high-level ideas, but I think it's the direction in which things need to move to support this feature. What do you think? Footnotes |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature scope
Taps (catalog, state, tests, etc.)
Description
For a salesforce tap, discovery is expensive. It can take several minutes to generate a catalog, which you might want to do on every sync in order to catch new fields or objects/streams being added. In many salesforce orgs, schema changes like this can happen daily.
Salesforce's "describe" api, which dumps the full schema as json, can return with only the schema changes made after a certain date with If-Modified-Since, but it's not obvious to me how this should be implemented with the sdk. Mainly, where is the "date last ran describe" state stored? Should the date be stored in the config file and updated on each run? Also, are there potential issues with a catalog file being supplied, but also edited and saved before sync since a tap is typically either writing a catalog file or reading it, not both?
Are there any known examples of this sort of thing being implemented with the sdk? If not, could you point me in the right direction for this might be done or what might need to change in the sdk to enable this? Happy to submit a PR.
Beta Was this translation helpful? Give feedback.
All reactions