Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For comparison, the validation logic above replaces the current validation, which is represented by the following sudo code:

Code Block
languagepy
titleExisting Validation Logic
time_difference = absolute(message.timestamp - broker.timestamp)

if time_difference > log.message.timestamp.difference.max.ms:
    # Validation failed for timestamp difference
    return Error code 32 (INVALID_TIMESTAMP)
else:
    # Validation passed for timestamp difference
    # Proceed with further logic

...