Create complete Spring Boot kafka-sendgrid scaffold with Docker, Kubernetes, and CI/CD - #2
Conversation
…ests Co-authored-by: jasoncalalang <26210229+jasoncalalang@users.noreply.github.com>
Co-authored-by: jasoncalalang <26210229+jasoncalalang@users.noreply.github.com>
|
in the deployment yaml helm template, add a secret named |
…m email Co-authored-by: jasoncalalang <26210229+jasoncalalang@users.noreply.github.com>
I've updated the Helm templates to use a dedicated
The secret now contains both Commit: b74b750 |
|
change base package name of java classes to |
…fkasendgrid Co-authored-by: jasoncalalang <26210229+jasoncalalang@users.noreply.github.com>
I've changed the base package name from
All compilation and tests pass with the new package structure. Commit: 4d6bb73 |
This PR implements a complete Spring Boot 3.5.4 application scaffold for the kafka-sendgrid service that consumes Kafka messages and sends emails via SendGrid API.
📋 Requirements Implemented
Core Application Features
Application Structure
DevOps & Infrastructure
🐳 Docker Support
☸️ Kubernetes Deployment
Complete Helm chart with production-ready features:
🚀 CI/CD Pipeline
GitHub Actions workflow with:
🧪 Testing & Quality
📚 Configuration
Environment-driven configuration with sensible defaults:
🏃♂️ Usage
Expected message format:
{ "to": "recipient@example.com", "subject": "Test Email", "body": "Hello from Kafka-SendGrid!", "from": "custom@example.com" }Build and run:
Docker:
docker build -t kafka-sendgrid:1.0.0 .Kubernetes:
📈 Production Ready Features
🔄 Version Management
The application uses semantic versioning with the pattern
1.0.xwhere x is incremental. The CI/CD pipeline automatically handles:latesttagv1.0.1) → versioned deploymentFixes #1.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.