Question
When the state is empty and AWS Lambda returns hasMore = true
, will Fivetran call the Lambda function immediately and continue to call it indefinitely as long as hasMore = true
?
Environment
Connector: AWS Lambda
Answer
- If
hasMore = true
, Fivetran will call the Lambda Function immediately and we will continue to call until we receivehasMore = false
- If
hasMore = false
, Fivetran will not call the Lambda Function until the next sync.
Notes
hasMore
is an indicator for Fivetran to make a follow-up call for fetching the next set of data. Fivetran makes repeated calls until it receives hasMore = false
. If the connector continuously runs for six hours, it will reschedule and save intermediate progress.
For more information about the function response format, please check the documentation here.