عرض عملي: كتابة عقد بيانات لأحداث الطلبات التي يستخدمها فريق المالية
في هذا الدرس 3 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
write and agree a contract between the Orders team and Finance; prepares SRA-004-LAB1.
تفاصيل المخطط المبدئي
خطوة بخطوة
- Interview the producer and consumer: what Finance needs (revenue recognition, refunds, tax) and how fresh.
- Draft the schema and write semantics for each money field: gross, discount, tax, shipping, currency.
- Add quality rules (no missing currency, totals reconcile) and freshness and delivery guarantees.
- Agree versioning and a deprecation notice period; add automated checks in the producer pipeline.
- Planned mistake: publish only a schema and field names. Fix: add semantics and reconciliation rules after a test shows Finance and Orders compute revenue differently.
- Sign off: both teams record the contract and name owners.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.