Within our parsing logic, we make use of the pubsub timestamp rather than the parsed events timestamp (Parser.stripStackdriverEncapsulation). This creates problems in the case of old messages getting backfilled into pubsub for whatever reason and causes a disconnect between our tests and production.
Instead, we should make use of the parsed out event timestamp.
Within our parsing logic, we make use of the pubsub timestamp rather than the parsed events timestamp (
Parser.stripStackdriverEncapsulation). This creates problems in the case of old messages getting backfilled into pubsub for whatever reason and causes a disconnect between our tests and production.Instead, we should make use of the parsed out event timestamp.