عرض عملي: أحداث الطلبات من البداية إلى النهاية
في هذا الدرس 3 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
run the full flow. Prepares MID-028-LAB1.
تفاصيل المخطط المبدئي
خطوة بخطوة
- Start Kafka (KRaft) with Docker Compose; create
orderswith 3 partitions. orderspublishesOrderPlacedkeyed by order ID withacks=alland idempotence on.- Consume in groups
inventoryandpayments; show each gets every record. - Check ordering: send three events for one order and see the same partition and order.
- Planned mistake: publish with a null key and show events of one order in different partitions and out of order. Fix with the order ID key.
- Throw on a bad payload and show it arriving in
orders.DLT.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.