Skip to content

Instantly share code, notes, and snippets.

@hpgrahsl
Created July 20, 2019 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hpgrahsl/1fb44fce805246b9d916440851c0b63e to your computer and use it in GitHub Desktop.
Save hpgrahsl/1fb44fce805246b9d916440851c0b63e to your computer and use it in GitHub Desktop.
Purchase Order Outbox Insert Event
{
"before": null,
"after": {
"dbserver1.outbox_demo.outbox_event.Value": {
"id": "6c810398-4b25-42ca-b18a-7428e16fefae",
"aggregate_id": "1",
"aggregate_type": "com.github.hpgrahsl.ms.outbox.sample.model.PurchaseOrder",
"payload": "{\"id\":1,\"customerId\":1234,\"orderDate\":\"2019-07-19T10:50:15.528\",\"lineItems\":[{\"id\":1,\"item\":\"ABC\",\"quantity\":12,\"totalPrice\":49.25,\"status\":\"ENTERED\"},{\"id\":2,\"item\":\"XYZ\",\"quantity\":98,\"totalPrice\":99.25,\"status\":\"ENTERED\"}],\"totalValue\":148.5}",
"timestamp": 1563526215,
"type": "com.github.hpgrahsl.ms.outbox.sample.event.OrderUpsertedEvent"
}
},
"source": {
"version": "0.10.0-SNAPSHOT",
"connector": "mysql",
"name": "dbserver1",
"ts_ms": 1563526215000,
"snapshot": {
"string": "false"
},
"db": "outbox-demo",
"table": {
"string": "outbox_event"
},
"server_id": 334455,
"gtid": null,
"file": "mysql-bin.000006",
"pos": 1261380,
"row": 0,
"thread": {
"long": 1638
},
"query": null
},
"op": "c",
"ts_ms": {
"long": 1563526215720
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment