You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用自托管Kafka的Lambda事件源映射过滤功能限制问询

问题:Kafka事件源映射的Lambda过滤不支持对象数组过滤

我们通过事件源映射从自托管Kafka集群调用AWS Lambda函数,调用过程中需通过过滤确保仅处理相关消息。但当前Lambda的过滤机制仅支持简单过滤,不支持基于对象数组的过滤。

以下是我们尝试过的示例过滤规则:

Filter #1 - { "value": { "message": { "header": { "sourcePlatforms": [ { "recordKeepingSystem": ["CBA"] } ] } } } }
Filter #2 - { "value": { "message": { "header": { "publishingApplication": {"publisherApplicationDatabaseSchema": ["DV1"] } } } } }
Filter #3 - { "value": { "message": { "body": {"create": {"person": {"sourceSchemaName": ["DV1"] } } } } } }
Filter #4 - { "value": { "message": { "body": {"create": {"testCfg": ["DV1"] } } } } }

内容的提问来源于stack exchange,提问作者Bharathiraja S

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.12 20:04:49