less than a minute
MQTT: ia/<customerID>/<location>/<AssetID>/scrapCount
For Kafka just switch the /
character with a .
Here a message is sent every time products should be marked as scrap. It works as follows: A message with scrap and timestamp_ms is sent. It starts with the count that is directly before timestamp_ms. It is now iterated step by step back in time and step by step the existing counts are set to scrap until a total of scrap products have been scraped.
timestamp_ms
is the unix timestamp, you want to go back fromscrap
number of item to be considered as scrap.Ten items where scrapped:
{
"timestamp_ms":1589788888888,
"scrap":10
}