[英]ValidationException - Member must have length less than or equal to 500
My Snowplow enricher loads data to a Kinesis Data Stream but Kinesis responds with error 400 and the message Member must have length less than or equal to 500 (Service: AmazonKinesis; Status Code: 400; Error Code: ValidationException
and I cannot find this exception in the AmazonKinesis documentation. I also do not understand the message, 500 what, bytes? When I look at Kinesis within the AWS console, there is no setting set to 500 and also I do not see anything related to maximum sizes.我的 Snowplow 扩充器将数据加载到 Kinesis 数据流,但 Kinesis 响应错误 400,并且消息
Member must have length less than or equal to 500 (Service: AmazonKinesis; Status Code: 400; Error Code: ValidationException
,我在AmazonKinesis 文档。我也不明白消息,500 是什么,字节?当我在 AWS 控制台中查看 Kinesis 时,没有设置为 500,而且我也没有看到与最大大小相关的任何内容。
Can someone tell me what this 500 is about?谁能告诉我这500是什么?
The error means that the Enrich app is trying to write more than 500 records to Kinesis at once.该错误意味着 Enrich 应用程序试图一次将 500 多条记录写入 Kinesis。 The
PutRequests
action of the Kinesis API has a limit of 500 entries. Kinesis API 的
PutRequests
操作限制为 500 个条目。 This is documented here .这在此处记录。
In your Enrich config file, you have buffer section , where you can specify:在您的丰富配置文件中,您有缓冲区部分,您可以在其中指定:
byteLimit = 10000000
recordLimit = 480
timeLimit = 60000
A flush is triggered when one of those limits is hit, whichever occurs first.当达到这些限制之一时会触发刷新,以先发生者为准。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.