Docs / 8 min

Schemas that reject politely

Register a JSON schema per stream and watch bad events bounce with reasons.

01

Register the contract

Schemas version automatically. Version one is what you register; version two is what you learn.

$ conduit schemas push orders --file order.v1.json
Registered orders v1 (4 fields, total required)

02

Read the rejections

Rejected events land in the dead-letter stream with the reason attached, not in a void. Replay them after fixing the producer.

$ conduit consume orders.dlq --limit 1
{"event": {...}, "_reject": "total: expected integer, got string"}

All guides