Skip to content

Some additional configuration and typing additions/fixes#14

Open
abarciauskas-bgse wants to merge 2 commits into
mainfrom
feat/add-more-configuration
Open

Some additional configuration and typing additions/fixes#14
abarciauskas-bgse wants to merge 2 commits into
mainfrom
feat/add-more-configuration

Conversation

@abarciauskas-bgse

Copy link
Copy Markdown

This PR adds some additional AWS configuration parameters.

A few other object modeling changes:

  • Passes a repo parameter into processor.garbage_collect (repo seems like a necessary argument to garbage collect, unless we add repo as an attribute of Processor)
  • Adds an __init__ function in the example processor module. This is not a necessity, given the example is still valid without it, but seems like an almost universal pattern to instantiate the processor with a bucket and prefix that it will store the icechunk repo in. I debated whether to keep this in but thought it useful enough to keep/

…sistency

- Add SQS_RETENTION_PERIOD_DAYS setting (with 1-14 day validator) and wire
  it into the main queue and DLQ
- Fix ICECHUNK_PREFIX being passed as a None Lambda env var (CDK requires str)
- Align example Processor and Protocol with the handlers: add optional
  bucket/prefix constructor and pass repo into garbage_collect

Co-authored-by: Cursor <cursoragent@cursor.com>
@abarciauskas-bgse abarciauskas-bgse self-assigned this Jun 19, 2026
@abarciauskas-bgse abarciauskas-bgse changed the title Some additinoal configuratino and typing additions/fixes Some additinoal configuration and typing additions/fixes Jun 22, 2026
@abarciauskas-bgse abarciauskas-bgse changed the title Some additinoal configuration and typing additions/fixes Some additional configuration and typing additions/fixes Jun 22, 2026
@sharkinsspatial

Copy link
Copy Markdown
Member

@abarciauskas-bgse I'll try to integrate these tomorrow. I just started testing the partitioned processing branch with GPM IMERG and realized I needed some of these updates as well 👍

@maxrjones maxrjones left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look good to me! I was just wondering if we should also set a tag in the configuration to make it easier to find CDK stacks templated by virtualizarr-data-pipelines (e.g., aws cloudformation describe-stacks --query "Stacks[?Tags[?Key=='Template' && Value=='virtualizarr-data-pipelines']]")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants