less than a minute
MQTT: ia/<customerID>/<location>/<AssetID>/count
For Kafka just switch the /
character with a .
A count message is send everytime an asset has counted a new item.
key | data type | description |
---|---|---|
timestamp_ms | int64 | unix timestamp of message creation |
count | int64 | amount of items counted |
scrap | int64 | optional amount of defective items. In unset 0 is assumed |
One item was counted and there was no scrap:
{
"timestamp_ms":1589788888888,
"count":1,
"scrap":0
}
Ten items where counted and there was five scrap:
{
"timestamp_ms":1589788888888,
"count":10,
"scrap":5
}