Product Outbound Message

Updated at:

Product Outbound Message: A message sent when a product goes out of stock.

Topic

Kafka topic

product

Message type

Ordered message

Message partition key

productId

Message body

Name

Type

Description

Example value

event

String

Message type

ProductOutGroup

body

purchaserId

String

Purchaser ID

PID220****3

productId

String

Product ID

8247129801781****2

Example

{
    "event": "ProductOutGroup",
    "body": {
        "purchaserId": "PID220****3",
        "productId": "8247129801781****2",
    }
}