我目前正在对 DynamoDB 进行批量加载并将我们的数据项划分为批处理单元:
根据限制文档:https : //docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchWriteItem.html
一些限制是:
批处理中有超过 25 个请求。
批次中的任何单个项目都超过 400 KB。
总请求大小超过 16 MB。
对我来说最大的未知数是25最大400Kb 的项目如何可能,有效载荷将超过 16Mbs。考虑到小于 255 字节的表名等。我不明白这个限制,或者我错过了一些简单的东西。
谢谢。
我在opensaml2.6上运行此代码
Element metadataRoot = document.getDocumentElement();
// Unmarshall
UnmarshallerFactory unmarshallerFactory = Configuration.getUnmarshallerFactory();
Unmarshaller unmarshaller = unmarshallerFactory.getUnmarshaller(metadataRoot);
if (unmarshaller == null) {
System.out.println("Error receiving unmarshaller for this document.");
return;
}
Run Code Online (Sandbox Code Playgroud)
对于文件
<?xml version="1.0" encoding="UTF-8"?><saml2:EncryptedAssertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">
Run Code Online (Sandbox Code Playgroud)
Unmarshaller返回a null,你能帮助我了解如何查找正确的标准Unmarshaller以及它在opensaml中是如何工作的?