Replies: 2 comments 1 reply
-
HI @romtur I will check. As this is a preview release, there could be an issue. One thing to make sure of, is that when you have configured the ExternalBus, you have configured the ConnectionProvider and TransactionProvider as per |
Beta Was this translation helpful? Give feedback.
-
Hi @iancooper It looks like it's an issue of version 10
This failure occurs in CommandProcessor: I tried to call DepositPostAsync (Deposit and Clear approach), providing IAmADynamoDbTransactionProvider and it works fine Also tried the same PostAsync on version 9.8.0 and it works fine as well. Should we create an issue for this? Best Regards, |
Beta Was this translation helpful? Give feedback.
-
We've been using Brighter along with Kafka for some time now. A week ago, we updated Brighter to version 1.0.0-preview.3.
Recently, we decided to implement the outbox. The requirement is to go with a NoSQL approach, so we chose DynamoDB, even though we are using MySQL as our entity store.
I was following this sample: https://github.com/BrighterCommand/Brighter/tree/master/samples/WebAPI_Dynamo
And this is my outbox setup:
When I'm trying to make PostAsync or DepositPostAsync (tried both) I'm getting this exception:
System.InvalidCastException: Unable to cast object of type 'Paramore.Brighter.ExternalBusServices2[Paramore.Brighter.Message,Amazon.DynamoDBv2.Model.TransactWriteItemsRequest]' to type 'Paramore.Brighter.ExternalBusServices2[Paramore.Brighter.Message,System.Transactions.CommittableTransaction]'
I assume the reason could be that I cannot use the DynamoDbUnitOfWork as a TransactionProvider because there are no live DynamoDB transactions. However, when I comment out this line, _asyncOutbox is always null in the DepositPostAsync method, resulting in nothing being written to the Outbox DB.
I would greatly appreciate any advice or help.
What I aim to achieve is to properly implement the outbox using the Deposit and Clear approach. Is it possible to do this with MySQL as the entity store and DynamoDB as the outbox?
Beta Was this translation helpful? Give feedback.
All reactions