Inventory out of stock (v0.0.4)
Indicates inventory is out of stock
Overview
The Inventory Adjusted
event is triggered whenever there is a change in the inventory levels of a product. This could occur due to various reasons such as receiving new stock, sales, returns, or manual adjustments by the inventory management team. The event ensures that all parts of the system that rely on inventory data are kept up-to-date with the latest inventory levels.
Payload
The payload of the Inventory Adjusted
event includes the following fields:
Producing the Event
To produce an Inventory Adjusted event, use the following example Kafka producer configuration in Python:
Consuming the Event
To consume an Inventory Adjusted event, use the following example Kafka consumer configuration in Python:
Event-driven architecture documentation: Awesome Fake Company