Skip to main content

event-governance

Schema Registry enforcement (Avro/JSON), CloudEvents standard, and Event Evolution rules.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
majiayu000/claude-skill-registry-data
آخر نشاط في المصدر
٢٣ يونيو ٢٠٢٦ في ١١:٠٢
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٢١
التفرعات
٨

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

مستكشف الملفات
2 ملفات

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
event-governance
description
Schema Registry enforcement (Avro/JSON), CloudEvents standard, and Event Evolution rules.
role
prod-architect, eng-data
triggers
["event schema","avro","protobuf","cloudevents","schema registry","asyncapi"]
# event-governance Skill Events are Data Contracts. They must be governed as strictly as APIs. ## 1. CloudEvents Standard Use the standard envelope structure: ```json { "specversion": "1.0", "type": "com.example.order.created", "source": "/service/order", "id": "A234-1234-1234", "time": "20.2.01-01T12:00:00Z", "datacontenttype": "application/json", "data": { ... } } ``` ## 2. Schema Registry - **Rule**: All event payloads must be validated against a Schema Registry (e.g., Confluent, Glue) *before* publishing. - **Formats**: Avro (preferred for compact/evolution), Protobuf, or JSON Schema. ## 3. Schema Evolution (Compatibility) - **Backward Compatibility**: New consumer can read old data. (Add optional fields). - **Forward Compatibility**: Old consumer can read new data. (Ignore unknown fields). - **Full Compatibility**: Both. - **Breaking Changes**: renaming fields, changing types. **Forbidden** without a new topic version (`orders.v2`). ## 4. Documentation - Use **AsyncAPI** to document event topography. - Treat Events as Public APIs.
عرض على GitHub