-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Async S3KeySensor
#14
Comments
This implementation needs to include the Async version of S3Hook |
Based on the existing sync implementation, S3KeySensor uses S3Hook. S3KeySensorAsync needs the Async implementation for S3HookAsync. aiobotocore can be used for the hook connection. S3KeySensorAsync can defer itself with a trigger tied to the event that should resume it. This frees up the worker to run something else. The trigger is run until it fires, at which point its source task is re-scheduled. The scheduler queues the task to resume on a worker node. Working on this implementation. |
Draft #45 |
Done with changes recommended by Daniel. Working on test. |
- Implement the `S3KeySensorAsync`. - Implement `S3Trigger`. - Implement `AwsBaseHookAsync` from `AwsBaseHook`. - Implement `S3HookAsync` from `S3Hook`. - Tests for implementation. closes astronomer/astronomer-providers#14
Based on the research in #32 - Async
RedshiftOperator
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: