Member must have length less than or equal to 10

0

Hi all!

I have a problem then i try to write more than 10 operations in transaction:
"Member must have length less than or equal to 10"

JDK 11.0.6

<dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-dynamodb</artifactId> <version>1.11.714</version> </dependency>

NoSQL Workbench for Amazon DynamoDB (Preview)
Version 0.4.0

var transactWriteItemsRequest = new TransactWriteItemsRequest()
   .withTransactItems(actions)
   .withReturnConsumedCapacity(ReturnConsumedCapacity.TOTAL);
try {
   res = client.transactWriteItems(transactWriteItemsRequest);

In the official documentation, the limit is 25 operations:
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/transaction-apis.html#transaction-apis-txwriteitems

Is it a bug or am I doing something wrong?

Edited by: sergeyNayaTech on Feb 4, 2020 12:31 PM

質問済み 4年前3708ビュー
5回答
0

Hi sergey123456,

You are correct, you can include up to 25 items per transaction. Let me check with the Workbench team on the behavior you are observing.

回答済み 4年前
0

Ok. Can i help you?

回答済み 4年前
0

Hi,
Thanks for trying out NoSQL Workbench and providing valuable feedback. We tried reproducing the issue on our end and were not able to. Could you please share screenshots or provide detailed steps to reproduce the issue so that we can get to the bottom of this and fix this if it is indeed an issue?

You can always send us an email to dynamodb-workbench-feedback@amazon.com if that is more convenient.

Thanks.

回答済み 4年前
0

Hello there.

In my case,
This problem occurred when connecting to dynamodb-local on Docker Hub.
https://hub.docker.com/r/amazon/dynamodb-local/

Amazon DynamoDB limit is correctly set to 25.
But dynamodb-local limit is set to 10.

回答済み 4年前
0

Thanks for the reply. That issue is something we are going to fix very soon. Stay tuned for updates.

回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ