-
Notifications
You must be signed in to change notification settings - Fork 862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transaction Library for DynamoDB #25
Comments
I second that request, having this feature integrated in the .NET SDK would be incredibly helpful. |
Thanks for the feedback. We prioritize features based on what we hear from customers, so this helps drive that. |
Upvoting this one. I would definitely use this feature. |
Yes absolutely would love a .NET port for this library. |
This is needed if DynamoDB product to be a viable enterprise storage option. |
+1 for this feature. Would be very helpful! |
Definitely +1 for this. |
+1. This is really needed. |
+1. I would say that this is pretty much a necessity. |
|
Just starting to look at Dynamo and realized this bummer. We have a need to insert to DDB, then insert to SQS, but rollback DDB if the SQS insert doesn't succeed. Any idea if this will gain any traction? |
+1, lack of transaction support is a big hurdle in the project I'm working on. |
+1, transaction support in c# is really needed. |
+1 any progress on this? |
+1, need transaction support for dynamodb in c#. |
+1. Lack of Transaction support in the .NET SDK is a hurdle for us to pick it up for an enterprise project. I'm currently facing issues in a personal project where I'm manually having to delete records from a table based on whether a subsequent write to another table was successful or not. |
+1 |
6 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
Very much needed. |
+1 |
3 similar comments
+1 |
+1 |
+1 |
+1 |
2 similar comments
+1 |
+1 |
+1, hard to believe this has been in the request pipeline for 5 years and nobody has touched it. This is a massive roadblock to .NET based enterprises using this in anything critical |
+1 |
2 similar comments
+1 |
+1 |
DynamoDB announced last week for service side transaction support. https://aws.amazon.com/blogs/aws/new-amazon-dynamodb-transactions/ Curious how well this meets the needs of the developers asking for a port of the Java transaction library. |
are we able to manipulate transaction boundaries in anyway? Or are the boundaries limited to the call itself? if we can't explicitly roll back or commit then its pretty much pointless. We need to include potential roll back conditions that come from the using application logic as well |
Is this Transaction Library done for .net core? I could not find code samples anywhere. |
public async Task VotarAsync(Usuario usuario, Voto voto, EnqueteQueUsuarioVotou enqueteQueUsuarioVotou)
{
enqueteQueUsuarioVotou.Id = enqueteQueUsuarioVotou.EnqueteId + "-" + enqueteQueUsuarioVotou.UsuarioHash;
var enqueteQueUsuarioVotouA = DynamoDbContext.ToDocument(enqueteQueUsuarioVotou).ToAttributeMap();
var usuarioMap = DynamoDbContext.ToDocument(usuario).ToAttributeMap();
var votoMap = DynamoDbContext.ToDocument(voto).ToAttributeMap();
var items = new TransactWriteItemsRequest
{
TransactItems = new List<TransactWriteItem>
{
new TransactWriteItem
{
Put = new Put
{
TableName = "EL_EnqueteQueUsuarioVotou",
ConditionExpression = "attribute_not_exists(Id)",
Item = enqueteQueUsuarioVotouA,
},
},
new TransactWriteItem
{
Put = new Put
{
TableName = "EL_Usuario",
Item = usuarioMap
}
},
new TransactWriteItem
{
Put = new Put
{
TableName = "EL_Voto",
Item = votoMap
}
},
}
};
await DynamoDBClient.TransactWriteItemsAsync(items);
} |
It´s already developed in java (http://aws.typepad.com/aws/2013/07/dynamodb-transaction-library.html).
Any plans for port this ?
The text was updated successfully, but these errors were encountered: