Siddu Hussain
04/02/2024, 11:01 AMEdgar Ramírez (Arch.dev)
04/02/2024, 4:50 PM• Is using Catalog.json and loading the catalog a better approach then defining Stream Classes for Each Stream.Not necessarily, and they are not mutually exclusive approaches. As a developer you could define stream classes for each stream, and as a user of the tap still use
--catalog catalog.json
to perform schema and metadata overrides. Though for your use case it seems like you need a generic stream class that is instantiated as many times as necessary given the entries in the catalog. Similar to what SQL taps do: https://github.com/meltano/sdk/blob/101ffc80720762c075455062ca4ea2ae76a680be/singer_sdk/tap_base.py#L686-L699
• How can I batch these child calls in spite of 1 parent at a time processing, like executing parallel.That's a tougher implementation detail. The sdk doesn't have any builtin helpers for parallel stream processing at the moment.
Siddu Hussain
04/02/2024, 5:36 PMEdgar Ramírez (Arch.dev)
04/02/2024, 6:14 PM