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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠