检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
事件ID eventSource String 事件源 eventType String 事件类型 receiveTime String 接收时间 channelId String 通道ID channelName String 通道名称 deliverList Array of DeliverItem
事件源提供的事件类型列表,只有官方云服务事件源提供事件类型 created_time String 创建UTC时间 updated_time String 更新UTC时间 channel_id String 事件源归属的事件通道ID channel_name String 事件源归属的事件通道名称
事件源提供的事件类型列表,只有官方云服务事件源提供事件类型 created_time String 创建UTC时间 updated_time String 更新UTC时间 channel_id String 事件源归属的事件通道ID channel_name String 事件源归属的事件通道名称
SK认证是使用SDK对请求进行签名,签名过程会自动往请求中添加Authorization(签名认证信息)和X-Sdk-Date(请求发送的时间)请求头。 AK/SK认证的详细说明请参见AK/SK认证。 对于获取用户Token接口,由于不需要认证,所以只添加“Content-Type”即可,添加消息头后的请求如下所示。
事件源提供的事件类型列表,只有官方云服务事件源提供事件类型 created_time String 创建UTC时间 updated_time String 更新UTC时间 channel_id String 事件源归属的事件通道ID channel_name String 事件源归属的事件通道名称
kafka_detail KafkaConnectionDetail object created_time String 创建UTC时间 updated_time String 更新UTC时间 表4 ErrorInfo 参数 参数类型 描述 error_code String 错误码 最小长度:1 最大长度:128
kafka_detail KafkaConnectionDetail object created_time String 创建UTC时间 updated_time String 更新UTC时间 表6 ErrorInfo 参数 参数类型 描述 error_code String 错误码 最小长度:1 最大长度:128
请输入地址。 客户端SDK 请输入客户端SDK上传到OBS的地址。 说明: 客户端SDK上传到OBS的地址获取方式可参考常见问题。 消费超时时间(毫秒) 请输入1000到900000之间的整数。 消息类型 请选择普通消息。 消费线程数 请输入20到64之间的整数。 批量消费最大消息数
kafka_detail KafkaConnectionDetail object created_time String 创建UTC时间 updated_time String 更新UTC时间 表6 ErrorInfo 参数 参数类型 描述 error_code String 错误码 最小长度:1 最大长度:128
在左侧导航栏选择“函数 > 函数列表”,进入函数列表页面。 单击函数名称“test”,进入函数详情页。 在“监控”页签,查看调用次数、运行时间等。 图5 监控视图
kafka_detail KafkaConnectionDetail object created_time String 创建UTC时间 updated_time String 更新UTC时间 表7 ErrorInfo 参数 参数类型 描述 error_code String 错误码 最小长度:1 最大长度:128
dead_letter_queue DeadLetterQueue object 订阅的死信参数列表 created_time String 创建时间 updated_time String 更新时间 表15 TransForm 参数 参数类型 描述 type String 转换规则类型 枚举值: ORIGINAL
dead_letter_queue DeadLetterQueue object 订阅的死信参数列表 created_time String 创建时间 updated_time String 更新时间 表15 TransForm 参数 参数类型 描述 type String 转换规则类型 枚举值: ORIGINAL
jpg 事件主题。标明事件具体的主题形式。 time Timestamp 否 2022-01-17T12:07:48.955Z 事件产生的时间。 data Struct 否 { "name": "test01", "state": "enable" } 事件内容。JSON对象格式。
bucketName String 桶名称 owner owner object 桶拥有者信息 creationDate String 桶的创建时间 location String 桶的位置信息 storageClass Object 对象的存储类型 metadata Object 桶元数据
规格版本 id 是 String Id source 是 String 事件源 time 是 String 时间 type 是 String 事件类型 ttl 是 String 超时时间 dataschema 否 String 数据架构 事件Body体示例如下(以“OBS应用事件源”为例):
事件的负载内容,采用datacontenttype字段指定的格式,内容字段遵循dataschema字段的描述 time 否 String 事件发生UTC日期时间,相同来源的事件格式相同,遵循RFC3339,格式需满足2018-04-05T17:31:00Z,参考https://tools.ietf
规格版本 id 是 String Id source 是 String 事件源 time 是 String 时间 type 是 String 事件类型 ttl 是 String 超时时间 dataschema 否 String 数据架构 事件Body体示例如下(以“OBS应用事件源”为例):
事件的负载内容,采用datacontenttype字段指定的格式,内容字段遵循dataschema字段的描述 time 否 String 事件发生UTC日期时间,相同来源的事件格式相同,遵循RFC3339,格式需满足2018-04-05T17:31:00Z,参考https://tools.ietf
事件网格如何收费? 事件网格根据自定义(包含云服务租户侧事件产生 )或第三方事件流入的事件数量进行计费,具体详情请参见价格计算器。 事件网格当前提供按需计费模式,这种购买方式比较灵活,按照实际使用量付费,没有最低消费。 华为云服务事件源自身产生发布的事件(任意事件状态变化 )免费,事件消费免费。