Round 4, continued Responsibilities and context
| Component | Responsibility |
|---|---|
| Provider A adapter | Receive and validate notifications |
| Provider B adapter | Import and normalize provider files |
| Settlement ingestion | Import, validate and track bank files |
| Canonical data layer | Standardize records and keep provenance |
| Reconciliation engine | Apply approved matching rules |
| Exception service | Manage investigation state and actions |
| Audit subsystem | Preserve traceable business actions |
| Operations API and finance UI | Controlled access to workflows and results |
| Servicing integration | Communicate with the legacy servicing system |
| Monitoring and alerting | Expose processing health and failures |
| Integration | Pattern | Why |
|---|---|---|
| Provider A notifications | Webhook or API | Timely event delivery |
| Provider B files | Scheduled file ingestion | The source provides files |
| Bank settlement | Managed file transfer and batch | The existing banking interface |
| Servicing system | API or approved adapter | Preserve the legacy system |
| Internal processing | Durable asynchronous messaging | Decouple ingestion from reconciliation |
| Finance UI | Synchronous API | Interactive workflow |
Do not turn every interaction into a stream. A scheduled file import is the right answer for a source that only produces files. A modular monolith with independently scalable ingestion workers is a reasonable start if the workload and availability needs support it.
Data and state The data model and reconciliation states
Idempotency, corrected. The reference lists check whether the transaction is already recorded, then persist it. Two concurrent deliveries can both pass that check. Use the uniqueness key (provider_id, provider_transaction_id) in the database with an insert that does nothing on conflict, commit, publish through the outbox, keep consumers idempotent and record the outcome (Module 07, Lesson 05).
The customer asked for AI Where AI belongs
| AI may assist with | AI must never |
|---|---|
| Summarizing an exception’s investigation history | Invent missing financial values |
| Explaining a mismatch from approved source evidence | Declare an authoritative match |
| Searching approved operational documentation | Modify a loan balance |
| Navigating known runbooks | Approve a financial adjustment |
| Categorizing free-text notes for human review | Override approved reconciliation rules |
The core problem is normalization, identifiers, timing and deterministic rules. Where AI helps, keep source references, permissions and audit, and label generated suggestions clearly apart from system decisions.
| Need | Candidate AWS capability |
|---|---|
| Containers and runtime | Amazon ECR; ECS with Fargate (EKS only if the platform strategy needs it) |
| Transactions | Amazon RDS for PostgreSQL or Aurora PostgreSQL |
| Durable work and routing | Amazon SQS; EventBridge where appropriate |
| Files | Amazon S3 |
| Secrets and keys | AWS Secrets Manager; AWS KMS |
| Identity | IAM plus the approved customer identity integration |
| Monitoring, tracing, AWS audit | CloudWatch; OpenTelemetry; CloudTrail |
| Edge and backups | AWS WAF where exposure requires it; AWS Backup and database recovery |
Practical exercise
Architecture package
Submit the architecture package.
- Context, component and deployment diagrams, and the data model.
- Sequences for payment ingestion, settlement ingestion, reconciliation and exception investigation.
- Trust boundaries, API contracts and event schemas.
- Failure and recovery design, NFR mapping and updated ADRs.
Show a sample NFR mapping row
- No silent false matches: deterministic versioned rules, potential matches always to a person, negative test set in CI, false-match rate on the dashboard.
What you can do now
- Design for a hybrid environment.
- Model reconciliation state properly.
- Place AI and cloud services by responsibility.