All Products
Search
Document Center

EventBridge:UpdateEventStreaming

Last Updated:Oct 29, 2026

Modifies the basic information, event source information, event filtering pattern, or event target information of an event stream.

Operation description

Modifies the basic information, event source information, event filtering pattern, or event target information of an event stream.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

eventbridge:UpdateEventStreaming

update

*EventStreaming

acs:eventbridge:{#regionId}:{#accountId}:eventstreaming/{#EventStreamingName}

None None

Request parameters

Parameter

Type

Required

Description

Example

EventStreamingName

string

Yes

The name of the event stream.

myeventstreaming

Description

string

No

The description of the event stream.

rocketmq2mns

FilterPattern

string

No

The event filtering rule. If you do not specify this parameter, all events are matched. For more information, see https://www.alibabacloud.com/help/en/eventbridge/user-guide/event-patterns.

{ "source": [ { "prefix": "acs:mns" } ], "type": [ { "prefix": "mns:Queue" } ], "subject": [ { "prefix": "acs:mns:cn-hangzhou:123456789098****:queues/zeus" } ] }

Source

object

No

The event provider. You must select exactly one source type and configure its parameters.

SourceApacheKafkaParameters

object

No

The parameter settings for open source Kafka.

Bootstraps

string

No

The endpoint.

"Bootstraps"

ConsumerGroup

string

No

The name of the consumer group.

DEFAULT_GROUP

NetworkType

string

No

Specifies the network type of the Kafka cluster.

PrivateNetwork

OffsetReset

string

No

The consumption offset. Valid values:

  • latest: The system reads data from the latest offset.

  • earliest: The system reads data from the earliest offset. This value is supported only when an unused consumer group is initialized for the first time.

latest

SaslMechanism

string

No

The SASL authentication mechanism of Kafka.

"SaslMechanism"

SaslPassword

string

No

The SASL authentication password of Kafka.

yourPassword

SaslUser

string

No

The SASL authentication username of Kafka.

"SaslUser"

SecurityGroupId

string

No

The ID of the security group for the Kafka source.

sg-bp1iv19sp1msc7zot4****

SecurityProtocol

string

No

The security protocol type of Kafka. Valid values:

  • SASL_SSL

  • PLAINTEXT

  • SASL_PLAINTEXT

SASL_SSL

SslKeyPassword

string

No

[Required for encrypted private keys] The password for the Kafka client private key. If the client private key is protected by password encryption (the PEM file contains the 'Proc-Type: 4,ENCRYPTED' or 'ENCRYPTED' tag), you must provide the decryption password. If the private key is not encrypted, leave this parameter empty. Note: This password is used only to decrypt the private key and is unrelated to Kafka authentication.

yourPassword

SslKeystoreCertificateChain

string

No

[Required for mutual authentication] The Kafka client certificate chain. If mutual SSL authentication (ssl.client.auth=required) is enabled on the Kafka server, you must provide this parameter. Format requirements: Base64-encoded PEM format, including the client certificate and the complete certificate chain (the client certificate first, followed by intermediate CA certificates, and the root CA certificate is optional). Note: Ensure that each PEM file starts with '-----BEGIN CERTIFICATE-----' and ends with '-----END CERTIFICATE-----' before concatenating and Base64-encoding them.

"SslKeystoreCertificateChain"

SslKeystoreKey

object

No

[Required for bidirectional authentication] The SSL private key configuration object. If bidirectional SSL authentication is enabled on the Kafka server, you must provide the client private key. Only the KMS pattern is supported for the key: specify the EPS resource of the Key Management Service (KMS) that stores the private key by using KmsArn. The system retrieves the private key content from KMS only in memory, which provides higher security. Configuration example: {"KmsArn": "acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx", "KmsSecretValueKey": "keystore_private_key"}.

KmsArn

string

No

[Required] The ARN of the KMS resource that stores the SSL private key. This parameter is used to locate the KMS instance that stores the client private key. Format example: 'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx'. To obtain the ARN, view the ARN information of the corresponding key in the KMS console.

"KmsArn"

KmsSecretValueKey

string

No

[KMS KV mode] The key name in the KMS secret. If the secret stored in KMS is in a key-value pair (KV) structure, specify this parameter to indicate the key corresponding to the SSL private key. Example: If the KMS secret is '{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}', enter 'ssl_keystore_key'. If the KMS secret is in plain text mode (directly storing the PEM content of the private key), leave this parameter empty.

"KmsSecretValueKey"

SslTruststoreCertificates

string

No

[Required for SSL scenarios] The trusted certificate of the Kafka server. This parameter is used to authenticate the validity of the SSL certificate of the Kafka broker and prevent man-in-the-middle attacks. Format requirements: PEM format with Base64 encoding, which typically includes the CA certificate of the Kafka server or the server certificate itself. Example: Perform Base64 encoding on the PEM file content of the CA certificate (ensure that it starts with '-----BEGIN CERTIFICATE-----' and ends with '-----END CERTIFICATE-----'). If Kafka uses a self-signed certificate, you must provide the CA certificate that issued the certificate.

"SslTruststoreCertificates"

Topic

string

No

The name of the topic.

LTC_CACHE_PRD

VSwitchIds

string

No

The list of vSwitch IDs for the Kafka source.

vsw-bp179l3llg3jjxwrq72****

ValueDataType

string

No

The data type. Valid values:

  • Text

  • Binary

  • Json

JSON

VpcId

string

No

The VPC ID of the Kafka source.

vpc-8vblalsi0vbhizr77****

SourceApacheRocketMQCheckpointParameters

object

No

The RocketMQ checkpoint source.

InstanceEndpoint

string

No

The endpoint of the Apache RocketMQ instance.

192.168.1.1:9876

InstancePassword

string

No

The password of the Apache RocketMQ instance.

yourPassword

InstanceUsername

string

No

The username of the Apache RocketMQ instance.

admin

NetworkType

string

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

PrivateNetwork

RegionId

string

No

The region ID.

cn-hangzhou

SecurityGroupId

string

No

The security group ID.

sg-mw43*****

Topics

array

No

The topic of the Apache RocketMQ instance.

string

No

The topic of the Apache RocketMQ instance.

myTopic

VSwitchId

string

No

The vSwitch ID.

vsw-dwaafds****

VpcId

string

No

The VPC ID.

vpc-adw1awdw*****

SourceCustomizedKafkaConnectorParameters

object

No

The custom connector Apache Kafka event source.

ConnectorPackageUrl

string

No

The download URL of the OSS resource ZIP package.

"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ"

ConnectorParameters

object

No

The connector parameters.

Config

object

No

The connector configuration.

{ "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector", "tasks.max": "1", "topics": "sourceA,sourceB" }

Name

string

No

The connector name.

test-name

WorkerParameters

object

No

The instance configuration.

{ "group.id": "connect-eb-cluster-KAFKA_CONNECTORC", "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC", "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC", "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC", "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink", "bootstrap.servers": "alikafka-post:9092" }

SourceCustomizedKafkaParameters

object

No

The custom Kafka event source.

InstanceId

string

No

The instance ID of MSMQ for Apache Kafka.

r-8vb64581862c****

SourceDTSParameters

object

No

The DTS source.

BrokerUrl

string

No

The network address and port number of the data subscription channel.

"BrokerUrl"

InitCheckPoint

integer

No

The consumption offset, which is the timestamp when the SDK client consumes the first piece of data. The value is a UNIX timestamp.

1620962769

Password

string

No

The password of the consumer group account.

admin

Sid

string

No

The ID of the consumer group.

hkprdb

TaskId

string

No

The task ID.

f86e5814-b223-482c-b768-3b873297****

Topic

string

No

The subscription topic of the data subscription channel.

LTC_CACHE_PRD

Username

string

No

The account of the consumer group.

admin

SourceEventBusParameters

object

No

The event bus source.

EventBusName

string

No

The name of the event bus.

my-event-bus

EventRuleName

string

No

The name of the event rule.

my-event-rule

SourceFeiShuDocsParameters SourceFeiShuDocsParameters

No

The Lark document source parameters.

SourceJDBCParameters SourceJDBCParameters

No

The JDBC data source parameters.

SourceKafkaParameters

object

No

The source Kafka parameters.

ConsumerGroup

string

No

The group ID of the consumer that subscribes to the topic.

DEFAULT_GROUP

InstanceId

string

No

The instance ID.

i-8vbh4a5b9yfhgkkzm****

Network

string

No

The network configuration. Default value: Default. For VPC networks, set this parameter to PublicNetwork.

Default

OffsetReset

string

No

The offset.

latest

RegionId

string

No

The region ID.

cn-zhangjiakou

SecurityGroupId

string

No

The security group ID.

sg-uf6jcm3y5hcs7hkl****

Topic

string

No

The topic name.

topic_empower_1641539400786

VSwitchIds

string

No

The vSwitch ID.

vsw-wz9t1l1e8eu2om****

ValueDataType

string

No

The encoding and decoding parameter. Valid values:

  • Json: uses the existing logic. Bytes are decoded into strings by using UTF-8 and parsed as JSON.

  • Text: bytes are decoded into strings by using UTF-8 and directly placed in the payload.

  • Binary: bytes are encoded into strings by using Base64 encoding and placed in the payload.

Text

VpcId

string

No

The VPC ID.

vpc-2ze6p0o345nykmekxt****

SourceMNSParameters

object

No

The source Simple Message Queue (formerly MNS) parameters.

IsBase64Decode

boolean

No

Specifies whether to enable Base64 encoding. Default value: true.

true

QueueName

string

No

The queue name.

queue_api_1642474203601

RegionId

string

No

The region ID.

cn-hangzhou

SourceMQTTParameters

object

No

The source MQTT parameters.

BodyDataType

string

No

The message encoding format. Valid values:

  • JSON

  • Text

  • Binary

JSON

InstanceId

string

No

The instance ID.

i-bp1dsudbecqwt61j****

NetworkType

string

No

The network type.

PrivateNetwork

RegionId

string

No

The region ID.

cn-shanghai

SecurityGroupId

string

No

The security group ID.

sg-bp1iv19sp1msc7zot4****

Topic

string

No

The topic name.

topic_empower_1642400400779

VSwitchIds

string

No

The vSwitch IDs.

vsw-bp179l3llg3jjxwrq72****

VpcId

string

No

The VPC ID.

vpc-8vblalsi0vbhizr77****

SourceMySQLParameters SourceMySQLParameters

No

The source MySQL parameters.

SourceOSSParameters

object

No

The source OSS parameters.

BucketName

string

No

The name of the OSS bucket.

bucket_abc

Delimiter

string

No

The delimiter. In chunk loading mode, this delimiter is used as the chunk identifier for text. Default value: \n (line break).

\n

FileExtensions

array

No

The file extension whitelist.

["pdf","docx"]

string

No

The extension type.

txt

LoadFormat

string

No

The document loader.

TextLoader

LoadMode

string

No

The data loading mode. Valid values:

  • single: loads a single document.

  • element: loads data in chunks. Default value: single.

single

Prefix

string

No

The file path prefix.

fun/document/

RoleName

string

No

The name of the RAM role that authorizes EventBridge to read OSS files. The role must have at least read-only permissions on OSS.

eventbridge_oss_role

SourceOpenSourceRabbitMQParameters

object

No

The source open source RabbitMQ parameters.

AuthType

string

No

The authentication type.

ACL

BodyDataType

string

No

The data type of the message body.

Json

Endpoint

string

No

The endpoint of the instance.

192.168.1.1:9876

NetworkType

string

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

PrivateNetwork

Password

string

No

The password used to connect to the open source RabbitMQ instance.

yourPassword

QueueName

string

No

The queue name of the open source RabbitMQ instance.

demo

SecurityGroupId

string

No

The security group ID.

sg-m5edtu24f12345****

Username

string

No

The username used to connect to the open source RabbitMQ instance.

admin

VSwitchIds

string

No

The vSwitch ID.

vsw-m5ev8asdc6h12345****

VirtualHostName

string

No

The vhost name of the open source RabbitMQ instance.

Vhost1

VpcId

string

No

The VPC ID.

vpc-m5e3sv4b12345****

SourcePostgreSQLParameters SourcePostgreSQLParameters

No

The source PostgreSQL parameters.

SourcePrometheusParameters

object

No

The source Prometheus event source parameters.

ClusterId

string

No

The cluster ID.

c83555068b6******ad213f565f209

DataType

string

No

The data type.

Json

ExternalLabels

string

No

The external labels attached to the event stream.

{"env":"test"}

Labels

string

No

The labels.

__name__=.*

RegionId

string

No

The region ID of the instance.

cn-hangzhou

RoleName

string

No

The name of the task role.

test-role

SourceRabbitMQMetaParameters SourceRabbitMQMetaParameters

No

The source ApsaraMQ for RabbitMQ metadata parameters.

SourceRabbitMQMsgSyncParameters SourceRabbitMQMsgSyncParameters

No

The source ApsaraMQ for RabbitMQ message synchronization parameters.

SourceRabbitMQParameters

object

No

The source RabbitMQ parameters.

InstanceId

string

No

The instance ID of the ApsaraMQ for RabbitMQ instance.

i-f8z9lqkldlb4oxsxwwub

NetworkType

string

No

The network type used to connect to the source RabbitMQ instance. Valid values:

  • PublicNetwork: the Internet.

  • PrivateNetwork: a VPC. If you set this parameter to PrivateNetwork, you must also configure VpcId, VSwitchIds, and SecurityGroupId. When you update an event stream and want to retain the original VPC configuration, you must pass these network parameters at the same time.

PrivateNetwork

QueueName

string

No

The queue name of the ApsaraMQ for RabbitMQ instance.

demo

RegionId

string

No

The region ID.

cn-hangzhou

SecurityGroupId

string

No

The ID of the security group used to connect to the source RabbitMQ instance. This parameter is required when NetworkType is set to PrivateNetwork.

sg-bp1xxxxxxxxxxxx

VSwitchIds

string

No

The vSwitch IDs used to connect to the source RabbitMQ instance. Separate multiple vSwitch IDs with commas (,). This parameter is required when NetworkType is set to PrivateNetwork.

vsw-bp1xxxxxxxxxxxx,vsw-bp1yyyyyyyyyyyy

VirtualHostName

string

No

The vhost name of the ApsaraMQ for RabbitMQ instance.

eb-connect

VpcId

string

No

The VPC ID of the source RabbitMQ instance. This parameter is required when NetworkType is set to PrivateNetwork.

vpc-bp1xxxxxxxxxxxx

SourceRocketMQCheckpointParameters

object

No

The RocketMQ checkpoint source.

InstanceId

string

No

The instance ID of the ApsaraMQ for RocketMQ instance.

rmq-cn-jte3w******

InstanceType

string

No

The type of the ApsaraMQ for RocketMQ instance.

Cloud_5

RegionId

string

No

The region ID.

cn-hangzhou

Topics

array

No

The topics of the ApsaraMQ for RocketMQ instance.

string

No

The topics of the ApsaraMQ for RocketMQ instance.

myTopic

SourceRocketMQParameters

object

No

The RocketMQ source parameters.

AuthType

string

No

The authentication type.

ACL

BodyDataType

string

No

The message encoding format. Valid values:

  • Json

  • Text

  • Binary

Json

FilterSql

string

No

The SQL filter statement.

index > 10

FilterType

string

No

The message filtering type.

Tag

GroupID

string

No

The group ID of the MSMQ message queue RocketMQ.

GID_test

InstanceEndpoint

string

No

The endpoint of the instance.

reg****-vpc.cn-zhangjiakou.aliyuncs.com

InstanceId

string

No

The instance ID of the MSMQ message queue RocketMQ.

i-f8z9a9mcgwri1c1id****

InstanceNetwork

string

No

The network type of the instance. Valid values:

  • PublicNetwork

  • PrivateNetwork

PublicNetwork

InstancePassword

string

No

The password of the instance.

admin

InstanceSecurityGroupId

string

No

The security group ID of the instance.

sg-m5edtu24f12345****

InstanceType

string

No

The instance type. Valid values:

  • Cloud_4 (default): ApsaraMQ for RocketMQ 4.0 instance.

  • Cloud_5: ApsaraMQ for RocketMQ 5.0 instance.

  • SelfBuilt: Self-managed Apache RocketMQ instance.

Cloud_5

InstanceUsername

string

No

The username of the instance.

admin

InstanceVSwitchIds

string

No

The vSwitch IDs of the instance.

vsw-m5ev8asdc6h12****

InstanceVpcId

string

No

The VPC ID of the instance.

vpc-m5e3sv4b12345****

Network

string

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

PublicNetwork

Offset

string

No

The consumption offset of messages. Valid values:

  • CONSUMEFROMLASTOFFSET: Consumes messages from the latest offset.

  • CONSUMEFROMFIRSTOFFSET: Consumes messages from the earliest offset.

  • CONSUMEFROMTIMESTAMP: Consumes messages from the offset at a specified point in time.

Default value: CONSUMEFROMLAST_OFFSET.

CONSUMEFROMLASTOFFSET

RegionId

string

No

The region ID of the MSMQ message queue RocketMQ.

cn-shanghai

SecurityGroupId

string

No

The security group ID.

sg-m5edtu24f12345****

Tag

string

No

The filter tag of the message.

test

Timestamp

integer

No

The timestamp. This parameter is valid only when the Offset parameter is set to CONSUMEFROMTIMESTAMP.

1670656652009

Topic

string

No

The topic name.

TOPIC-cainiao-pcs-order-process-inBoundConditionCheck

VSwitchIds

string

No

The vSwitch ID.

vsw-m5ev8asdc6h12345****

VpcId

string

No

The VPC ID of the instance.

vpc-m5e3sv4b12345****

SourceSLSParameters

object

No

The Simple Log Service (SLS) source parameters.

RoleName

string

No

The name of the role. For the authorization of the event bus EventBridge to use this role to read SLS log content, the following conditions must be met: when creating the role used by the service in the Resource Access Management (RAM) console, you must select Alibaba Cloud Service, and the trusted service must be the event bus.

testRole

Metadata

string

No

The common JSON Configurations for event providers. This parameter is mutually exclusive with Source.

{"key":"value"}

Sink

object

No

The event target. You must select one sink, and you can configure only one sink.

SinkAgentRunParameters SinkAgentRunParameters

No

The delivery parameters for the agent runtime.

SinkApacheKafkaParameters

object

No

The description.

Acks

string

No

The acknowledgment mode for writing data to Kafka. Valid values:

  • acks=0: No response from the server is required. This mode delivers high performance but carries a high risk of data loss.

  • acks=1: A response is returned after the primary node successfully writes the data. This mode delivers medium performance and carries a medium risk of data loss. Data may be lost if the primary node fails.

  • acks=all: A response is returned only after the primary node successfully writes the data and the secondary nodes synchronize the data. This mode delivers lower performance but ensures higher data security. Data is lost only if both the primary and secondary nodes fail.

all

Bootstraps

string

No

The initial endpoints of the Kafka cluster.

"Bootstraps"

CompressionType

string

No

The compression type.

"CompressionType"

DynamicTopic

object

No

The target topic routing policy for messages. If both the Topic and DynamicTopic parameters are specified, the value of the DynamicTopic parameter takes precedence. The following configuration modes are supported:

  1. Static constant mode: Enter a fixed topic name string, such as "order_created". All messages are sent to this topic.

  2. Dynamic extraction mode: Enter a standard JSONPath expression, such as "$.user.id" or "$.metadata.category". The system parses the upstream message body and extracts the value of the matched field as the target topic name.

Form

string

No

The conversion type. Valid values:

  • CONSTANT: A fixed value.

  • JSONPATH: Extracted from the upstream message based on the specified path.

CONSTANT

Template

string

No

The template.

The template string, if any

Value

string

No

The value.

"DynamicTopic"

Headers

object

No

The message headers.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The message headers.

"Headers"

Key

object

No

The message key.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The message key.

key

NetworkType

object

No

The network type.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The network type.

PrivateNetwork

SaslMechanism

string

No

The SASL authentication mechanism of Kafka.

"SaslMechanism"

SaslPassword

string

No

The SASL authentication password of Kafka.

yourPassword

SaslUser

string

No

The SASL authentication username of Kafka.

"SaslUser"

SecurityGroupId

object

No

The security group ID.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The security group ID.

sg-mw43*****

SecurityProtocol

string

No

The security protocol type of Kafka. Valid values:

  • SASL_SSL

  • PLAINTEXT

  • SASL_PLAINTEXT

SASL_SSL

SslKeyPassword

string

No

[Required for encrypted private keys] The password for the Kafka client private key. If the client private key is protected by password encryption (the PEM file contains the 'Proc-Type: 4,ENCRYPTED' or 'ENCRYPTED' tag), you must provide the decryption password. If the private key is not encrypted, leave this parameter empty. Note: This password is used only to decrypt the private key and is unrelated to Kafka authentication.

yourPassword

SslKeystoreCertificateChain

string

No

[Required for mutual authentication] The Kafka client certificate chain. If mutual SSL authentication (ssl.client.auth=required) is enabled on the Kafka server, you must provide this parameter. Format requirements: Base64-encoded PEM format, including the client certificate and the complete certificate chain (the client certificate first, followed by intermediate CA certificates, and the root CA certificate is optional). Note: Ensure that each PEM file starts with '-----BEGIN CERTIFICATE-----' and ends with '-----END CERTIFICATE-----' before concatenating and Base64-encoding them.

"SslKeystoreCertificateChain"

SslKeystoreKey

object

No

[Required for bidirectional authentication] The SSL private key configuration object. When bidirectional SSL authentication is enabled on the Kafka server, you must provide the client private key. The key only supports the KMS mode: specify the Key Management Service (KMS) resource that stores the private key by using KmsArn. The system retrieves the private key content from KMS only in memory, which provides higher security. Configuration example: {"KmsArn": "acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx", "KmsSecretValueKey": "keystore_private_key"}.

KmsArn

string

No

[Required] The ARN of the KMS resource that stores the SSL private key. This parameter is used to locate the KMS instance that stores the client private key. Format example: 'acs:kms:cn-hangzhou:123456789:secret/ssl-keystore-key-xxxx'. To obtain the ARN, view the ARN information of the corresponding key in the KMS console.

"KmsArn"

KmsSecretValueKey

string

No

[KMS KV mode] The key name in the KMS secret. If the secret stored in KMS is in a key-value pair (KV) structure, specify this parameter to indicate the key corresponding to the SSL private key. Example: If the KMS secret is '{"ssl_keystore_key":"-----BEGIN PRIVATE KEY-----...","ssl_truststore_key":"..."}', enter 'ssl_keystore_key'. If the KMS secret is in plain text mode (directly storing the PEM content of the private key), leave this parameter empty.

"KmsSecretValueKey"

SslTruststoreCertificates

string

No

[Required in SSL scenarios] The Kafka server trust certificate. It is used to authenticate the validity of the SSL certificate of the Kafka broker and prevent man-in-the-middle attacks. Format requirements: PEM format with Base64 encoding, which usually contains the CA certificate of the Kafka server or the server certificate itself. Example: Perform Base64 encoding on the PEM file content of the CA certificate (ensure that it starts with '-----BEGIN CERTIFICATE-----' and ends with '-----END CERTIFICATE-----'). If Kafka uses a self-signed certificate, you must provide the CA certificate that issued the certificate.

"SslTruststoreCertificates"

Topic

string

No

The name of the topic.

LTC_CACHE_PRD

VSwitchIds

object

No

The list of vSwitch IDs for the Kafka source.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The list of vSwitch IDs for the Kafka source.

vbr-8vb835n3zf9shwl****mp

Value

object

No

The message body.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The message body.

$.data.content

VpcId

object

No

The VPC ID.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The VPC ID.

i-2ze7u5i17mbqtx1p****

SinkApacheRocketMQCheckpointParameters

object

No

The event source type.

ConsumeTimestamp

object

No

The timestamp when the message is consumed.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The timestamp.

1570761026400

Group

object

No

The group ID of the consumer group.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The consumer group.

GID_EVENTBRIDGE_1736234******

InstanceEndpoint

string

No

The endpoint of the instance.

192.168.1.1:9876

InstancePassword

string

No

The password.

yourPassword

InstanceUsername

string

No

The username required for authentication.

admin

NetworkType

string

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

PrivateNetwork

SecurityGroupId

string

No

The security group ID.

sg-2ze5bmpw6adn0q******

Topic

object

No

The topic of the ApsaraMQ for RocketMQ instance.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The name of the topic in the ApsaraMQ for RocketMQ instance.

Mytopic

VSwitchId

string

No

The vSwitch ID.

vsw-uf62oqt1twuevrt******

VpcId

string

No

The ID of the VPC.

vpc-2zeccak5pb0j3ay******

SinkApiDestinationParameters SinkApiDestinationParameters

No

The API destination target parameters.

SinkBaiLianParameters SinkBaiLianParameters

No

The Model Studio delivery parameters.

SinkCustomizedKafkaConnectorParameters

object

No

The sink Kafka connector parameters.

ConnectorPackageUrl

string

No

The download URL of the OSS file.

"https://examplebucket.oss-cn-hangzhou.aliyuncs.com/testDoc/Old_Homebrew/2024-06-26%2022%3A34%3A08/opt/homebrew/homebrew/Library/Homebrew/test/support/fixtures/cask/AppWithBinary.zip?OSSAccessKeyId=ri&Expires=1725539627&Signature=rb8q3OpV2i3gZJ"

ConnectorParameters

object

No

The properties file in the current ZIP package.

Config

object

No

The connector configuration.

{ "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector", "tasks.max": "1", "topics": "sourceA,sourceB" }

Name

string

No

The connector name.

mongo-sink

WorkerParameters

object

No

The instance configuration.

{ "group.id": "connect-eb-cluster-KAFKA_CONNECTORC", "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC", "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC", "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC", "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink", "bootstrap.servers": "alikafka-post:9092" }

SinkCustomizedKafkaParameters

object

No

The sink Kafka parameters.

InstanceId

string

No

The instance ID of the MSMQ for Apache Kafka.

90be1f96-4229-4535-bb76-34b4f6fb2b71

SinkDashVectorParameters

object

No

The sink DashVector parameters.

ApiKey

string

No

The API key created in the DashVector console.

Q34nExQH7sQ****

Collection

string

No

The name of the collection.

collection1

DashVectorSchemaParameters

array<object>

No

The schema field definition of the table item when inserting data into DashVector. The result after event content transformation must be in JSON format.

array<object>

No

Name

object

No

The property name.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The property name.

content

Type

object

No

The DashVector property type.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The DashVector property type.

STRING

Value

object

No

The property value.

Form

string

No

The conversion format. Default value: CONSTANT.

JSONPATH

Template

string

No

The template style.

${content}

Value

string

No

The property value.

$.data.content

InstanceId

string

No

The instance ID.

vrs-cn-lbj3ru1***

Network

string

No

The network type. Valid values:

  • PrivateNetwork

  • PublicNetwork

PublicNetwork

Operation

string

No

The DashVector database operation type. Valid values:

  • Delete

  • Upsert

Upsert

Partition

object

No

The partition. Default value: default.

Form

string

No

The transformation format. Valid values:

  • JSONPATH

  • CONSTANT

CONSTANT

Template

string

No

The template style.

${partition}

Value

string

No

The value.

  • If Form is CONSTANT: the constant value.

  • If Form is JSONPATH: the content extracted by using JSONPath.

Note

The Value field cannot exceed 10,240 characters.

default

PrimaryKeyId

object

No

The primary key ID used when inserting or deleting a record. If this field is not specified, a random primary key ID is used.

Form

string

No

The transformation format. Valid values:

  • JSONPATH

  • TEMPLATE

JSONPATH

Template

string

No

The primary key ID template. This field is required only when Form is set to TEMPLATE.

${ID}

Value

string

No

The value.

  • If Form is JSONPATH: the content extracted by using JSONPath.

  • If Form is TEMPLATE: the template variable.

Note

The Value field cannot exceed 10,240 characters.

$.data.requestId

Vector

object

No

The vector of the DashVector record to be inserted.

Form

string

No

The transformation format.

JSONPATH

Template

string

No

The template style.

${vector}

Value

string

No

The content extracted by using JSONPath.

Note

The Value field cannot exceed 10,240 characters.

$.data.messageBody

SinkDataHubParameters

object

No

The DataHub sink parameters.

Body

object

No

The record content template for the BLOB type.

Form

string

No

The transformation format.

ORIGINAL

Template

string

No

The template style.

The template string, if any

Value

string

No

The record content template for the BLOB type.

{ "key": "value" }

ContentSchema

object

No

The key-value pairs of the custom log. This parameter takes effect only when ContentType is set to KeyValue. Each key-value pair is represented by Key_n and Value_n.

Form

string

No

The template style.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The value before conversion.

{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}

ContentType

object

No

The data format. You can select the default format or specify key-value pairs. Valid values:

  • JSON

  • KeyValue

Form

string

No

The transformation format.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The value before conversion.

JSON

Project

object

No

The name of the DataHub project.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The name of the DataHub project.

demo-project

RoleName

object

No

The name of the task role.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The name of the task role.

test-role

Topic

object

No

The name of the DataHub topic.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The name of the DataHub topic.

demo-topic

TopicSchema

object

No

The topic content schema for the TUPLE type.

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

{"k1":"${k1}","k2":"${k2}"}

Value

string

No

The topic content schema for the TUPLE type.

{"k1":"value1","k2":"value2"}

TopicType

object

No

The topic type. Valid values:

  • TUPLE

  • BLOB

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The topic type. Valid values:

  • TUPLE

  • BLOB

TUPLE

SinkDataWorksTriggerParameters SinkDataWorksTriggerParameters

No

The delivery parameters for the DataWorks trigger.

SinkDorisParameters

object

No

The event source type.

BeHttpEndpoint

object

No

The public HTTP endpoint for BE.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The public HTTP endpoint for BE.

"BeHttpEndpoint"

Body

object

No

The message content.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The message content.

{ "key": "value" }

Database

object

No

The database.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The database.

"Database"

FeHttpEndpoint

object

No

The HTTP endpoint for FE.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The HTTP endpoint for FE.

"FeHttpEndpoint"

NetworkType

object

No

The network type.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The network type.

PublicNetwork

Password

object

No

The password.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The password.

yourPassword

QueryEndpoint

object

No

The MySQL endpoint.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The MySQL endpoint.

"QueryEndpoint"

SecurityGroupId

object

No

The security group ID.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The security group ID.

sg-mw43*****

Table

object

No

The destination table.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The destination table.

"Table"

UserName

object

No

The username.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The username.

"UserName"

VSwitchIds

object

No

The vSwitch IDs.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The vSwitch IDs.

vbr-8vb835n3zf9shwl****mp

VpcId

object

No

The VPC ID.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The VPC ID.

i-2ze7u5i17mbqtx1p****

SinkEventHouseParameters

object

No

The name of the event target.

CatalogName

string

No

The name of the catalog.

demo

EventTableName

string

No

The name of the target table.

demo-table

MappingRules

array<object>

No

The field mapping rules.

array<object>

No

The field mapping rules.

ColumnName

string

No

The name of the column.

age

ColumnType

string

No

The type of the column.

text

ColumnValue

object

No

The extraction rule for the column value.

Form

string

No

The transformation method, such as JSONPATH.

JSONPATH

Template

string

No

The template configuration.

The value of ${key} is ${value}!

Value

string

No

The extraction path, such as $.data.value.name.

$.data.value

NamespaceName

string

No

The namespace of the target table.

name1

SinkFcParameters

object

No

The function target.

Body

object

No

The body of the content sent to the function.

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The value before conversion.

{ "key": "value" }

Concurrency

object

No

The delivery concurrency. The minimum value is 1.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The delivery concurrency. The minimum value is 1.

1

DataFormat

object

No

The format transformation rule for the event content.

Form

string

No

The transformation format. Valid values:

  • ORIGINAL: complete event

  • JSONPATH: partial event

  • CONSTANT: constant

  • TEMPLATE: template

JSONPATH

Template

string

No

The template style.

$.data.key

Value

string

No

The value before conversion.

{ "key": "value" }

FunctionName

object

No

The name of the function.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The name of the function.

mFunction

InvocationType

object

No

The invocation type. Valid values:

  • Sync: synchronous invocation

  • Async: asynchronous invocation

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The invocation type.

Async

Qualifier

object

No

The alias of the service to which the function belongs.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The alias of the service to which the function belongs.

LATEST

ServiceName

object

No

The name of the service.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The name of the service.

myService

SinkFnfParameters

object

No

The Sink Fnf parameters.

ExecutionName

object

No

The name of the execution.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The name of the execution.

123

FlowName

object

No

The name of the flow.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The name of the flow.

test-streaming-fnf

Input

object

No

The input information for the execution.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The input information for the execution.

123

RoleName

object

No

The role configuration.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The role configuration.

Al****FNF-x****

SinkHttpsParameters SinkHttpsParameters

No

The HTTPS target parameters.

SinkKafkaParameters

object

No

The sink Kafka parameters.

Acks

object

No

The acknowledgment mode for writing data to Kafka. Valid values:

  • acks=0: No response from the server is required. This mode delivers high performance but carries a high risk of data loss.

  • acks=1: A response is returned after the primary node successfully writes the data. This mode delivers medium performance and carries a medium risk of data loss. Data may be lost if the primary node fails.

  • acks=all: A response is returned only after the primary node successfully writes the data and the secondary nodes synchronize the data. This mode delivers lower performance but ensures higher data security. Data is lost only if both the primary and secondary nodes fail.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The acknowledgment mode for writing data to Kafka. Valid values:

  • acks=0: No response from the server is required. This mode delivers high performance but carries a high risk of data loss.

  • acks=1: A response is returned after the primary node successfully writes the data. This mode delivers medium performance and carries a medium risk of data loss. Data may be lost if the primary node fails.

  • acks=all: A response is returned only after the primary node successfully writes the data and the secondary nodes synchronize the data. This mode delivers lower performance but ensures higher data security. Data is lost only if both the primary and secondary nodes fail.

1

CompressionType

string

No

The compression type.

"CompressionType"

DynamicTopic

object

No

The target topic routing policy for messages. If both the Topic and DynamicTopic parameters are specified, the value of the DynamicTopic parameter takes precedence. The following configuration modes are supported:

  1. Static constant mode: Enter a fixed topic name string, such as "order_created". All messages are sent to this topic.

  2. Dynamic extraction mode: Enter a standard JSONPath expression, such as "$.user.id" or "$.metadata.category". The system parses the upstream message body and extracts the value of the matched field as the target topic name.

Form

string

No

The conversion type. Valid values:

  • CONSTANT: A fixed value.

  • JSONPATH: Extracted from the upstream message based on the specified path.

CONSTANT

Template

string

No

The template.

The template string, if any

Value

string

No

The value.

"DynamicTopic"

Headers

object

No

The additional metadata for Kafka messages.

Form

string

No

The transformation format. Valid values:

  • ORIGINAL: complete event

  • JSONPATH: partial event

  • CONSTANT: constant

  • TEMPLATE: template

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The value before conversion.

{ "key": "value" }

InstanceId

object

No

The target service type is Message Queue for Apache Kafka. Specify the instance ID of the message queue (MSMQ).

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The instance ID.

Defaut_1283278472_s****

Key

object

No

The identifier of the message.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The identifier of the message.

key

Topic

object

No

The name of the topic.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The name of the topic.

test

Value

object

No

The content of the message body.

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The value before conversion.

{ "key": "value" }

SinkKnowledgeBaseParameters SinkKnowledgeBaseParameters

No

The knowledge base delivery parameters.

SinkMNSParameters

object

No

The Simple Message Queue (formerly MNS) event target, which is an MSMQ service.

Body

object

No

The message content.

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The value before conversion.

{ "key": "value" }

IsBase64Encode

object

No

Specifies whether to enable Base64 encoding.

Form

string

No

The event transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

Enables Base64 encoding.

true

QueueName

object

No

The target service type is Simple Message Queue (formerly MNS), an MSMQ service.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The name of the queue in Simple Message Queue (formerly MNS), an MSMQ service.

MyQueue

SinkMQTTParameters SinkMQTTParameters

No

The MQTT delivery parameters.

SinkOSSParameters SinkOSSParameters

No

The Object Storage Service (OSS) delivery parameters.

SinkOpenSourceRabbitMQParameters

object

No

The parameters for the self-managed RabbitMQ sink.

AuthType

string

No

The authentication type. Valid values:

  • ACL

  • None

ACL

Body

object

No

The content of the message body.

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The raw data value.

{"key": "value"}

Endpoint

string

No

The endpoint.

192.168.1.1:9876

Exchange

string

No

The name of the exchange in RabbitMQ. This parameter takes effect only when TargetType is set to Exchange.

my-exchange

MessageId

object

No

The unique identifier of the message.

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The message ID value.

12345

NetworkType

string

No

The network type. Valid values:

  • PrivateNetwork

  • PublicNetwork

PublicNetwork

Password

string

No

The password used to access the RabbitMQ instance.

yourPassword

Properties

object

No

The additional properties of the message.

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The content of the property.

{"env": "prod"}

QueueName

string

No

The name of the queue in RabbitMQ. This parameter takes effect only when TargetType is set to Queue.

my-queue

RoutingKey

object

No

The routing key of the message.

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The routing key value.

{"Form": "CONSTANT", "Value": "my-routing-key"}

SecurityGroupId

string

No

The security group ID.

sg-uf6of9452b2pba82c ****

TargetType

string

No

The target type for message delivery. Valid values:

  • Exchange: Messages are routed through an exchange.

  • Queue: Messages are delivered directly to a specified queue.

Exchange

Username

string

No

The username used to access the RabbitMQ instance.

admin

VSwitchIds

string

No

The vSwitch ID.

vsw-uf6of9452b2pba82c ****

VirtualHostName

string

No

The name of the virtual host in RabbitMQ.

Vhost1

VpcId

string

No

The VPC ID.

vpc-uf6of9452b2pba82c ****

SinkPrometheusParameters

object

No

The parameters for the Prometheus sink.

AuthorizationType

object

No

The authentication method.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The authentication method.

BASIC_AUTH

Data

object

No

The metric content.

Form

string

No

The transformation format. Default value: JSONPATH.

JSONPATH

Template

string

No

The template style.

The template string, if any

Value

string

No

The metric content.

$.data

HeaderParameters

object

No

The data structure of the request header parameters.

Form

string

No

The transformation format. Valid values:

  • JSONPATH: JSONPATH.

  • CONSTANT: CONSTANT.

  • TEMPLATE: TEMPLATE.

TEMPLATE

Template

string

No

The HTTP request header template. This parameter is required when Form is set to TEMPLATE. The transformed event content must be in JSON format.

{ "user_name":"${name}" }

Value

string

No

  • CONSTANT: A constant value.

  • JSONPATH: The content extracted by using JSONPath.

  • TEMPLATE: A template variable.

Note: The Value field cannot exceed 10,240 characters in length.

name

NetworkType

object

No

The network type.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

PrivateNetwork

Password

object

No

The password.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The password.

abc

SecurityGroupId

object

No

The security group ID.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The security group ID.

sg-mw43*****

URL

object

No

The Prometheus Remote Write URL.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The Prometheus Remote Write URL.

https://cn-hangzhou.arms.aliyuncs.com/prometheus/167275****/c5b7faeb2e8994641*****d5c559f/cn-hangzhou/api/v3/write

Username

object

No

The username.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The username.

***admin

VSwitchId

object

No

The vSwitch ID.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The vSwitch ID.

vsw-dwaafds****

VpcId

object

No

The VPC ID.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The VPC ID.

vpc-adw1awdw*****

SinkRabbitMQMetaParameters SinkRabbitMQMetaParameters

No

The metadata delivery parameters for Message Queue for RabbitMQ.

SinkRabbitMQMsgSyncParameters SinkRabbitMQMsgSyncParameters

No

The message synchronization delivery parameters for Message Queue for RabbitMQ.

SinkRabbitMQParameters

object

No

The parameters for the ApsaraMQ for RabbitMQ sink.

Body

object

No

The message content.

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The value before conversion.

{ "key": "value" }

Exchange

object

No

The exchange mode. This parameter is required only when the TargetType parameter is set to Exchange.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The name of the exchange in the Message Queue for RabbitMQ instance.

a_exchange

InstanceId

object

No

The target service type is Message Queue for RabbitMQ.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The instance ID of the Message Queue for RabbitMQ instance.

amqp-cn-2r42e73o****

MessageId

object

No

The message ID.

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The value before conversion.

{ "key": "value" }

NetworkType

object

No

The network type used to connect to the target ApsaraMQ for RabbitMQ instance. If you set this parameter to PrivateNetwork, you must also configure the VpcId, VSwitchIds, and SecurityGroupId parameters. When you update an event stream and want to retain the original private network configuration, you must include these network parameters.

Form

string

No

The parameter assignment method. Set this parameter to CONSTANT to use a fixed value.

CONSTANT

Template

string

No

The template content. This network parameter uses a fixed value configuration and does not perform template conversion. You do not need to specify this field.

The value of ${key} is ${value}!

Value

string

No

The network type used to connect to the target ApsaraMQ for RabbitMQ instance. Valid values:

  • PublicNetwork: the Internet.

  • PrivateNetwork: a VPC.

PrivateNetwork

Properties

object

No

The filter properties.

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The value before conversion.

{ "key": "value" }

QueueName

object

No

The queue mode. This parameter is required only when the TargetType parameter is set to Queue.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The name of the queue in the instance.

MyQueue

RoutingKey

object

No

The routing rule of the message. This parameter is required only when the TargetType parameter is set to Exchange.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The routing rule of the message.

housekeeping

SecurityGroupId

object

No

The security group used to connect to the target ApsaraMQ for RabbitMQ instance. This parameter is required when the NetworkType.Value parameter is set to PrivateNetwork.

Form

string

No

The parameter assignment method. Set this parameter to CONSTANT to use a fixed value.

CONSTANT

Template

string

No

The template content. This network parameter uses a fixed value configuration and does not perform template conversion. You do not need to specify this field.

The value of ${key} is ${value}!

Value

string

No

The ID of the security group used to connect to the target ApsaraMQ for RabbitMQ instance.

sg-bp1xxxxxxxxxxxx

TargetType

object

No

The target type.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The target type. Valid values:

  • Exchange: the exchange mode.

  • Queue: the queue mode.

Exchange/Queue

VSwitchIds

object

No

The vSwitches used to connect to the target ApsaraMQ for RabbitMQ instance. This parameter is required when the NetworkType.Value parameter is set to PrivateNetwork.

Form

string

No

The parameter assignment method. Set this parameter to CONSTANT to use a fixed value.

CONSTANT

Template

string

No

The template content. This network parameter uses a fixed value configuration and does not perform template conversion. You do not need to specify this field.

The value of ${key} is ${value}!

Value

string

No

The IDs of the vSwitches used to connect to the target ApsaraMQ for RabbitMQ instance. Separate multiple vSwitch IDs with commas (,).

vsw-bp1xxxxxxxxxxxx,vsw-bp1yyyyyyyyyyyy

VirtualHostName

object

No

The name of the vhost in the Message Queue for RabbitMQ instance.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The name of the vhost in the Message Queue for RabbitMQ instance.

rabbit-host

VpcId

object

No

The VPC where the target ApsaraMQ for RabbitMQ instance resides. This parameter is required when the NetworkType.Value parameter is set to PrivateNetwork.

Form

string

No

The parameter assignment method. Set this parameter to CONSTANT to use a fixed value.

CONSTANT

Template

string

No

The template content. This network parameter uses a fixed value configuration and does not perform template conversion. You do not need to specify this field.

The value of ${key} is ${value}!

Value

string

No

The ID of the VPC where the target ApsaraMQ for RabbitMQ instance resides.

vpc-bp1xxxxxxxxxxxx

SinkRocketMQCheckpointParameters

object

No

The event source type.

ConsumeTimestamp

object

No

The timestamp when the message is consumed.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The timestamp.

1570761026400

Group

object

No

The group ID of the consumer group.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The consumer group.

GID_EVENTBRIDGE_1736234******

InstanceId

string

No

The instance ID.

MQ_INST_164901546557****_BAAN****

InstanceType

string

No

The instance type. Valid values:

  • Cloud_4: an ApsaraMQ for RocketMQ 4.0 instance.

  • Cloud_5: an ApsaraMQ for RocketMQ 5.0 instance.

Cloud_4

Topic

object

No

The topic of the Message Queue for RocketMQ instance.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The name of the topic in the Message Queue for RocketMQ instance.

Mytopic

SinkRocketMQParameters

object

No

The destination parameters for the MSMQ RocketMQ message.

Body

object

No

The message content.

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The value before conversion.

{ "key": "value" }

DeliveryOrderType

object

No

The message delivery order type. Optional. Default value: Concurrently.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The delivery order type. Valid values:

  • Orderly: Orderly delivery.

  • Concurrently: Concurrent delivery.

Concurrently

InstanceEndpoint

object

No

The endpoint of the instance.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The endpoint of the instance.

vbr-8vbsvkkbpf3vb0zef****

InstanceId

object

No

The instance ID. The destination service type is MSMQ RocketMQ message.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The instance ID of the MSMQ RocketMQ message.

MQ_INST_164901546557****_BAAN****

InstancePassword

object

No

The password of the instance.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The password of the instance.

admin****

InstanceType

object

No

The instance type.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The instance type. Valid values:

  • Cloud_4: ApsaraMQ for RocketMQ 4.0 instance. This is the default value.

  • Cloud_5: ApsaraMQ for RocketMQ 5.0 instance.

  • SelfBuilt: Self-managed Apache RocketMQ cluster.

Cloud_4

InstanceUsername

object

No

The username of the instance.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The username of the instance.

admin

Keys

object

No

The filter properties.

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The value before conversion.

{ "key": "value" }

Network

object

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

PublicNetwork

Properties

object

No

The filter properties.

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The value before conversion.

{ "key": "value" }

SecurityGroupId

object

No

The security group ID.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The security group ID.

b4bf375515f6440f942e3a20c33d****

ShardingKey

object

No

The sharding key of the message.

Note

When DeliveryOrderType is set to Orderly, this specifies the event content transformation rule for the ShardingKey property when writing messages to the downstream service. If the source is RocketMQ, ShardingKey can be empty. In this case, the sharding key of the message is generated by concatenating the upstream BrokerName and QueueId.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The value of the sharding key.

order_id

Tags

object

No

The filter properties.

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The value before conversion.

{ "key": "value" }

Topic

object

No

The topic of the MSMQ RocketMQ message instance.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The topic of the MSMQ RocketMQ message instance.

Mytopic

VSwitchIds

object

No

The vSwitch ID.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The vSwitch ID.

vbr-8vb835n3zf9shwl****mp

VpcId

object

No

The VPC ID.

Form

string

No

The event transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The VPC ID.

vbr-8vb835n3zf9shwlvb****

SinkSLSParameters

object

No

The Simple Log Service (SLS) sink parameters.

Body

object

No

The content sent to SLS.

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

The value of ${key} is ${value}!

Value

string

No

The value before conversion.

{ "key": "value" }

ContentSchema

object

No

The custom key-value pairs for logs. This parameter takes effect only when ContentType is set to KeyValue. Each key-value pair is represented by Key_n and Value_n.

Form

string

No

The transformation format.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The custom key-value pairs.

{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}

ContentType

object

No

The SLS data format. Valid values:

  • JSON

  • KeyValue

Form

string

No

The transformation format.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The SLS data format.

JSON

LogStore

object

No

The SLS Logstore.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The SLS Logstore.

test-logstore

Project

object

No

The SLS project.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The SLS project.

test-project

RoleName

object

No

When granting authorization to the event bus EventBridge to use this role to read SLS log content, you must meet the following conditions: when creating the role for the service in the Resource Access Management (RAM) console, you must select Alibaba Cloud Service and set the trusted service to the event bus.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

When granting authorization to the event bus EventBridge to use this role to read SLS log content, you must meet the following conditions: when creating the role for the service in the Resource Access Management (RAM) console, you must select Alibaba Cloud Service and set the trusted service to the event bus.

testRole

Topic

object

No

The topic of the log. This corresponds to the reserved field topic in SLS.

Form

string

No

The conversion format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

The template string, if any

Value

string

No

The topic of the log. This corresponds to the reserved field topic in SLS.

testTopic

RunOptions

object

No

The runtime environment parameters.

BatchWindow

object

No

The batch window.

CountBasedWindow

integer

No

The maximum number of events that the window can accommodate. When this threshold is reached, the data in the window is pushed downstream. If multiple windows exist, the push is triggered when the condition is met for any of the windows.

100

TimeBasedWindow

integer

No

The maximum time window in seconds for accumulating events. When this threshold is reached, the data in the window is pushed downstream. If multiple windows exist, the push is triggered when the condition is met for any of the windows.

10

BusinessOption

object

No

The business options.

BusinessMode

string

No

The business mode.

"BusinessMode"

MaxCapacityUnitCount

integer

No

The maximum number of capacity units.

10

MinCapacityUnitCount

integer

No

The minimum number of capacity units.

1

DeadLetterQueue

object

No

Specifies whether to enable the dead-letter queue. By default, the dead-letter queue is disabled, and messages that exceed the retry policy are discarded.

Arn

string

No

The ARN of the dead-letter queue.

acs:ram::131733464781****:role/rdstoecsassumekms

Network

string

No

The network type of the dead-letter queue. Valid values:

  • PrivateNetwork

  • PublicNetwork

PrivateNetwork

SecurityGroupId

string

No

The ID of the security group for the dead-letter queue instance.

sg-2vcgdxz7o1n9zapp****

VSwitchIds

string

No

The ID of the vSwitch where the dead-letter queue resides.

vsw-m5ev8asdc6h12345****

VpcId

string

No

The ID of the VPC where the dead-letter queue resides.

vpc-2zehizpoendb3****

ErrorsTolerance

string

No

The error tolerance policy. Valid values:

  • NONE: No tolerance for errors.

  • ALL: Tolerance for all errors.

ALL

MaximumTasks

integer

No

The number of concurrent tasks.

2

RetryStrategy

object

No

The retry policy used when an event fails to be pushed.

MaximumEventAgeInSeconds

integer

No

The maximum retry time.

512

MaximumRetryAttempts

integer

No

The maximum number of retry attempts.

2

PushRetryStrategy

string

No

The retry policy. Valid values:

  • BACKOFF_RETRY: Backoff retry.

  • EXPONENTIAL_DECAY_RETRY: Exponential decay retry.

BACKOFF_RETRY

Throttling

integer

No

The throttling value.

100

Transforms

array<object>

No

The transform configurations.

object

No

The ARN of the cloud service, such as the ARN of a function in Function Compute.

AiChunkTransformParameters AiChunkTransformParameters

No

The AI local text chunking parameters.

AiClassifyTransformParameters AiClassifyTransformParameters

No

The AI text classification parameters.

AiEmbedTransformParameters AiEmbedTransformParameters

No

The AI embedding parameters.

AiExtractTransformParameters AiExtractTransformParameters

No

The AI information extraction parameters.

AiFilterTransformParameters AiFilterTransformParameters

No

The AI conditional filtering parameters.

AiPrepSearchTransformParameters AiPrepSearchTransformParameters

No

The AI semantic chunking parameters.

AiRedactTransformParameters AiRedactTransformParameters

No

The AI data masking parameters.

AiSentimentAnalysisTransformParameters AiSentimentAnalysisTransformParameters

No

The AI emotion analysis parameters.

AiSummarizeTransformParameters AiSummarizeTransformParameters

No

The AI summarization parameters.

AiTranslateTransformParameters AiTranslateTransformParameters

No

The AI translation parameters.

Arn

string

No

The ARN of the cloud service, such as the ARN of a function in Function Compute.

acs:fc:cn-hangzhou:*****:services/demo-service.LATEST/functions/demo-func

BaiLianAgentTransformParameters BaiLianAgentTransformParameters

No

The Model Studio agent transform parameters.

DashScopeTransformParameters DashScopeTransformParameters

No

The DashScope model transform parameters.

Response elements

Element

Type

Description

Example

object

The response information.

Code

string

The response code. A value of Success indicates that the request was successful. Other values indicate error codes. For more information, see Error codes.

Success

Message

string

The error message.

The name [xxxx] of event streaming in request is already exist!

RequestId

string

The unique identifier generated by Alibaba Cloud for the request.

0FDD73AA-7A2D-5BD4-B4C0-88AFEBF5F0F5

Success

boolean

Indicates whether the operation was successful. A value of true indicates that the operation was successful.

true

Examples

Success response

JSON format

{
  "Code": "Success",
  "Message": "The name [xxxx] of event streaming in request is already exist!",
  "RequestId": "0FDD73AA-7A2D-5BD4-B4C0-88AFEBF5F0F5",
  "Success": true
}

Error codes

HTTP status code

Error code

Error message

Description

403 ServiceNotEnable Service not enable

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.