During the Agent's startup, it marks all the data items with "Unavailable" and the current timestamp. On connecting to the agent, some adapter implementation could send older stale data to the agent. The agent will publish these data items with their older timestamps.
The sequence looks like this:
<now>, ItemId, Unavailable,
<old time stamp>, ItemId, stale data
<next time stamp > now>, itemId, new data
The Agent should always publish the data with forward timestamp. The expected behavior should be:
<now>, ItemId, Unavailable,
<now+>, ItemId, stale data
<next time stamp > now+>, itemId, new data