-
Notifications
You must be signed in to change notification settings - Fork 6
feat: feeders as config #177
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
base: main
Are you sure you want to change the base?
Conversation
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
…has previous lambda setup if needed. new lambda module in /feeder/lambda *should* hopefully work in near future for task lambdas
|
An easy-ish way to test creation of feeder infrastructure:
|
Related issue(s)
SNS and S3 are common event sources for Cirrus Payloads. This feature provides a config-driven means to feed those event sources to the Cirrus Process Queue.
Proposed Changes
cirrus_inputs.feeder_definitions_diroption to denote a directory containing N number of subdirectories, each of which defines a feeder (similar tocirrus_inputs.task_definitions_dir). For example:Each
definition.yamlcreates:See
/modules/cirrus/cirrus-examples/feedersand/modules/cirrus/feeder/README.mdfor more detail/modules/cirrus/feeder/lambdawas created as a potential for DRY-ing up task + feeder lambda creation. Both tasks and feeders require (quite involved) lambda creation; a single lambda module that both can use is the future hope.Note: Feeders should be considered as being in beta, not production-ready quite yet. A few remaining tasks items will be buttoned up in a future PR:
feeder_task_workflow.tftodo/modules/cirrus/cirrus-examples/feedersTesting
This change was validated by the following observations:
feeder_definitions_dir = nullto ensure no changes to existing behaviorfeeder_definitions_dir = /somedirand various feeder configuration options to validate expected feeder behaviorChecklist