Particular / NServiceBus.AmazonSQS

An AWS SQS transport for NServiceBus.
Other
35 stars 20 forks source link

Detect clock skew between endpoint and AWS #65

Closed ahofman closed 7 years ago

ahofman commented 7 years ago

This affects TTBR. Certain Acceptance Tests fail when the TTBR is set to 3 seconds because the clock skew is greater than this. Need to detect the clock skew as returned from the AWS SDK and factor this in when comparing the SentTimestamp in SqsMessagePump.

SeanFeldman commented 7 years ago

Are you referring to this https://aws.amazon.com/blogs/developer/clock-skew-correction/?

ahofman commented 7 years ago

Thanks @SeanFeldman , I wasn't aware of that feature of the SDK - should be possible to use the clock skew from the SDK to adjust the SentTimestamp in SqsMessagePump.