Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5uEyg58znuchZ8C8i
15 lines
717 B
Plaintext
15 lines
717 B
Plaintext
### Register the outbox connector (EventRouter single message transform)
|
|
register 201
|
|
|
|
### One transaction writes the business row AND the outbox row
|
|
|
|
### A second transaction inserts an outbox row and deletes it before committing (the 'clean up as you go' habit)
|
|
outbox rows left in the table: 1
|
|
|
|
### Topic outbox.event.Order (headers | key | value; the four __debezium.context.* headers are trimmed with sed)
|
|
id:00000000-0000-0000-0000-000000000021,eventType:OrderCreated | 21 | {"orderId":21,"customer":"omkar","amountCents":100}
|
|
id:00000000-0000-0000-0000-000000000020,eventType:OrderCreated | 20 | {"orderId":20,"customer":"zoya","amountCents":4200}
|
|
|
|
### Topics that exist for this connector
|
|
outbox.event.Order
|