Skip to main content

Community

Connector Improvement: Lambda connector Sync through S3 file key inconsitency

Please sign in to leave a comment.

Comments

2 comments

  • Official comment

    Hi Abu,

    Thank you for the feature improvement suggestion. I've explored the idea with our engineering and although we can see some benefits we don't think the benefits out way the risks/costs.

    When it comes to better managing the file objects we delete the file once we have read it so these objects are only around to be managed for 15-30 mins.

    Keeping track of which files are where is such a key part of the connector actually working we have lowered the risk of a file name conflict that would be very hard to debug by selecting the file names ourselves.

    Best regards

    Alison

    Support ticket ref: https://support.fivetran.com/hc/en-us/requests/109702

    Currently when lambda is invoked from fivetran the below even is sent:

    Since the file key is sent in the request itself, the function connector doesn’t get to choose the file key in s3. Hence it would be better to send the key in the response by the connector, which would help the connector author to better manage objects in s3. It would also help fivetran to look for file only when its uploaded to s3 and the file key is sent in the response. Below is an illustration of the suggested response that could be sent by the connector.