The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.
In brief
- Problem
- Every customer integrates differently (EDI, files, API), and a new integration takes weeks.
- Approach
- One integration platform with adapters for EDIFACT, files, and APIs, a canonical order model, and validation at the entry point.
- Goal
- Lost or duplicated messages: 0 in resilience tests; Time from change approval to production (DORA metrics): < 1 day.
Client context
Logistics operators integrate with dozens of customers, carriers, and platforms, and the number of interfaces grows faster than the team that maintains them. The client is a logistics operator running contract warehouses and transport for several dozen retail and manufacturing customers.
Challenge
Every customer integrates differently (EDI, files, API), and a new integration takes weeks. Errors in advance shipping notices and orders are detected at the dock.
Requirements and constraints
- GDPR, i.e. Regulation (EU) 2016/679, requires data minimization, a legal basis for processing, processing agreements, and, for high-risk processing, a data protection impact assessment (DPIA). In practice it rules out copying production data into test environments without anonymization or pseudonymization. (source)
- KSeF (Poland's National e-Invoicing System) introduces mandatory structured invoices in the FA(3) format. Finance and accounting systems must handle sending, receiving, fallback modes, and KSeF numbers throughout the document flow. (source)
- NIS2, i.e. Directive (EU) 2022/2555, and the amendment to the Polish National Cybersecurity System Act (KSC) require essential and important entities to implement cybersecurity risk management measures and supply chain security, and to report incidents within short deadlines (an early warning within 24 hours). Management is personally liable, so documentation of decisions is part of the product. (source)
- Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, and every deliverable shipped with documentation the client's team can take over.
Approach and architecture
We use the strangler fig pattern: new APIs gradually take over traffic from the old ESB, and an anti-corruption layer translates the old data model into the new one. This way the migration happens piece by piece, with no big bang, and every step is reversible. Contract tests (consumer-driven) make sure a change on one side does not break the other.
One integration platform with adapters for EDIFACT, files, and APIs, a canonical order model, and validation at the entry point. Onboarding a new customer is a matter of configuring a mapping, not a new project.
Key elements of the solution:
- A canonical order and advance shipping notice model
- EDIFACT, CSV, and API adapters
- Validation at the entry point with feedback to the customer
- Per-customer flow monitoring
Team and roles
| Role | Count | Responsibility |
|---|---|---|
| Solution architect | 1 | target architecture, ADR decisions, technical reviews |
| Integration engineer | 3 | API contracts, Kafka, ESB, contract tests |
| Test analyst (ISTQB) | 1 | designing and executing test cases, reporting defects |
| Product owner and domain experts (client side) | as needed | priorities, business decisions, acceptance |
Phased schedule
| Phase | Weeks | Deliverable |
|---|---|---|
| 1. Integration inventory | 1–4 | flow map, interface catalog |
| 2. Contract and platform design | 5–9 | API specifications, schema registry |
| 3. Build and incremental migration | 10–19 | new interfaces, traffic switchovers |
| 4. Contract and resilience testing | 20–23 | contract tests, failure scenarios |
| 5. Retiring old connections | 24–24 | decommissioning plan, documentation |
Technology stack
Apache Camel or MuleSoft, Kafka, PostgreSQL, Grafana.
Risks and how we mitigate them
| Risk | How we mitigate it |
|---|---|
| A large number of integrations with unclear owners | an integration catalog with owners, contract tests, prioritization by criticality |
| Dependence on an external vendor and its deadlines | early agreement on API contracts, a stub environment, a weekly dependency review |
| Message loss or duplication when switching flows | transactional outbox, idempotent consumers, daily reconciliation of events against the source |
Measurable goals and KPIs
The values below are targets that we set with the client after a baseline measurement in the first phase.
| KPI | Target | How it is measured |
|---|---|---|
| Lost or duplicated messages | 0 in resilience tests | chaos tests, event reconciliation |
| Time from change approval to production (DORA metrics) | < 1 day | repository and pipeline data |
| Share of records meeting quality rules | ≥ 98% in critical tables | data quality tests |
Lessons learned and good practices
Validation at the entry point moves errors from the dock to the moment the order is sent. A canonical data model reduces customer onboarding to configuration. Idempotency on the consumer side is cheaper than an exactly-once delivery guarantee.
Why B2B.net
We combine two models: we provide individual specialists and entire teams (time and materials, team leasing), and when a client prefers to hand over responsibility for the outcome, we work at a fixed price for a defined scope. We have access to a large network of engineers in six cities, SAP Center of Expertise competencies, and experience with ISO 27001, DORA, and NIS2 requirements. If someone leaves the team, a replacement is in place within 5 business days.
Acceptance criteria
Each phase ends with formal acceptance against criteria agreed at the start. In this engagement, acceptance covers: flow map, interface catalog; API specifications, schema registry; new interfaces, traffic switchovers; contract tests, failure scenarios; decommissioning plan, documentation. Final acceptance requires a KPI measurement report against the baseline, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with a cost and risk assessment for each.
Next step
Want to see what such an implementation would look like in your organization? Book a 30-minute call. We will prepare a plan for the first six weeks and a team composition tailored to your system.
What would this look like for you?
Book a 30-minute call. We will prepare a plan for the first weeks and a team matched to your system.
Let's talkB2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.