Skip to content

Comments

BNPL Pipeline Infrastructure Foundation#10

Merged
whitehackr merged 4 commits intomainfrom
chore/bnpl-pipeline-setup
Sep 15, 2025
Merged

BNPL Pipeline Infrastructure Foundation#10
whitehackr merged 4 commits intomainfrom
chore/bnpl-pipeline-setup

Conversation

@whitehackr
Copy link
Owner

Summary

• Add production-grade BNPL API client with SSE support and retry logic
• Configure Airflow infrastructure with LocalExecutor and Docker Compose
• Update requirements.txt with compatible versions for pipeline dependencies
• Create comprehensive documentation for setup and architecture

Test plan

  • API client successfully connects to simtom API
  • Requirements.txt includes all necessary dependencies with compatible versions
  • Documentation covers architecture, setup, and usage patterns
  • Directory structure prepared for Great Expectations and Airflow DAGs

This establishes the foundation for 1.8M transaction ingestion and ML pipeline development.

- Add apache-airflow==2.8.4 for orchestration
- Add requests==2.31.0 and urllib3==2.0.7 for API client
- Add great-expectations==0.18.19 for data quality validation
- All versions chosen for compatibility with existing Python 3.11 stack
- Create BNPLAPIClient with exponential backoff retry strategy
- Implement rate limiting and request throttling
- Add comprehensive error handling and logging
- Support SSE stream response parsing from simtom API
- Include input validation for date ranges and parameters
- Add connection testing and daily batch methods
- Configure Docker Compose with LocalExecutor and PostgreSQL
- Mount DAGs, plugins, scripts, and GCP credentials
- Create directory structure for DAGs and plugins
- Set admin credentials and environment configuration
- Enable production-appropriate single-machine deployment
- Document architecture overview and design decisions
- Include environment setup instructions
- Describe BigQuery datasets and directory structure
- Add API client usage examples and Airflow configuration
- Outline data volume strategy and next steps
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.

1 participant