Brighter: [Bug]Archiver throws exceptions when used with a Dynamo DB outbox

Describe the bug

The outbox Archiver uses the DispatchedMessagesAsync method to get a list of messages which have successfully been dispatched and are safe to archive. There are two methods, one of which immediately throws a NotImplementedException in v9.8.0. This is the method that’s used by the outbox archiver.

In the latest v10 code, this function has an implementation, but passes null as the value to the args parameter to the overloaded version. This would result in an immediate ArgumentException.

To Reproduce

Attempt to use an OutboxArchiver with a DynamoDB outbox.

Exceptions (if any)

NotImplementedException and ArgumentException

Further technical details

  • Brighter version: 9.8.0

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

Attempt to use an OutboxArchiver with a DynamoDB outbox.

BTW @dhickie the archiver was written recently, so the DynamoDB outbox was tested against outbox/sweeper but probably not against archive when that came out. It suggests a gap somewhere in our approach. But that is why you are hitting issues with it. We used to treat archiving as an “out of band” issue for a user to resolve themselves

@preardon You are closer to this than I am. Any thoughts for @dhickie ?