Creates an event stream.
Operation description
Creates an event stream.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:CreateEventStreaming |
create |
*EventStreaming
|
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 this parameter is not specified, all events are matched. |
{ "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 specify exactly one source. |
|
| SourceApacheKafkaParameters |
object |
No |
The open-source Kafka parameter settings. |
|
| Bootstraps |
string |
No |
The endpoints. |
"Bootstraps" |
| ConsumerGroup |
string |
No |
The name of the consumer group. |
DEFAULT_GROUP |
| NetworkType |
string |
No |
The network type of the Kafka instance. |
PrivateNetwork |
| OffsetReset |
string |
No |
The offset reset policy. Valid values:
|
latest |
| SaslMechanism |
string |
No |
The SASL mechanism of the Kafka instance. |
"SaslMechanism" |
| SaslPassword |
string |
No |
The SASL password of the Kafka instance. |
yourPassword |
| SaslUser |
string |
No |
The SASL username of the Kafka instance. |
"SaslUser" |
| SecurityGroupId |
string |
No |
The ID of the security group to which the Kafka source belongs. |
sg-bp1iv19sp1msc7zot4**** |
| SecurityProtocol |
string |
No |
The security protocol type of the Kafka instance. Valid values:
|
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 a password (that is, the PEM file contains the 'Proc-Type: 4,ENCRYPTED' or 'ENCRYPTED' tag), you must provide the decryption password. Leave this parameter empty if the private key is not encrypted. Note: This password is used only to decrypt the private key and is irrelevant 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 the intermediate CA certificate, and the root CA certificate is optional). Note: Ensure that the content of each PEM file starts with '-----BEGIN CERTIFICATE-----' and ends with '-----END CERTIFICATE-----'. Concatenate them before Base64 encoding. |
"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 Key Management Service (KMS) EPS 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'. How to obtain: 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 uses 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 uses the plaintext mode (directly storing the PEM content of the private key), leave this parameter empty. |
"KmsSecretValueKey" |
| SslTruststoreCertificates |
string |
No |
[Required for SSL scenarios] The Kafka server trusted certificate. 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: Base64 encoding in PEM format, which usually contains the CA certificate of the Kafka server or the server certificate itself. Example: Perform Base64 encoding on the content of the PEM file 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 signing certificate that issued the certificate. |
"SslTruststoreCertificates" |
| Topic |
string |
No |
The name of the topic. |
LTC_CACHE_PRD |
| VSwitchIds |
string |
No |
The IDs of the vSwitches to which the Kafka source belongs. |
vsw-bp179l3llg3jjxwrq72**** |
| ValueDataType |
string |
No |
The data type. Valid values:
|
JSON |
| VpcId |
string |
No |
The ID of the VPC to which the Kafka source belongs. |
vpc-8vblalsi0vbhizr77**** |
| SourceApacheRocketMQCheckpointParameters |
object |
No |
The RocketMQ checkpoint source. |
|
| InstanceEndpoint |
string |
No |
The endpoint of the instance. |
reg****-vpc.cn-zhangjiakou.aliyuncs.com |
| InstancePassword |
string |
No |
The password of the instance. |
admin |
| InstanceUsername |
string |
No |
The username of the instance. |
admin |
| NetworkType |
string |
No |
The network type. |
PrivateNetwork |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| SecurityGroupId |
string |
No |
The ID of the security group. |
sg-bp1iv19sp1msc7zot4**** |
| Topics |
array |
No |
The message topics. |
|
|
string |
No |
The message topics. |
myTopic |
|
| VSwitchId |
string |
No |
The vSwitch ID. |
"VSwitchId" |
| VpcId |
string |
No |
The VPC ID. |
vpc-8vblalsi0vbhizr77**** |
| 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 Kafka 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 the MSMQ for Apache Kafka instance. |
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 format is a UNIX timestamp. |
1620962769 |
| Password |
string |
No |
The password of the consumer group account. |
admin |
| Sid |
string |
No |
The consumer group ID. |
HD3 |
| 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 consumer group account. |
admin |
| SourceEventBusParameters |
object |
No |
The event bus source parameters. |
|
| EventBusName |
string |
No |
The name of the event bus. |
"EventBusName" |
| EventRuleName |
string |
No |
The name of the event rule. |
"EventRuleName" |
| SourceFeiShuDocsParameters | SourceFeiShuDocsParameters |
No |
The Lark document source parameters. |
|
| SourceJDBCParameters | SourceJDBCParameters |
No |
The JDBC data source parameters. |
|
| SourceKafkaParameters |
object |
No |
The Kafka source parameters. |
|
| ConsumerGroup |
string |
No |
The group ID of the consumer that subscribes to the topic. |
DEFAULT_GROUP |
| InstanceId |
string |
No |
The instance ID. |
r-8vb64581862c**** |
| Network |
string |
No |
The network configuration. Default value: Default. For a VPC network, the value is PublicNetwork. |
Default |
| OffsetReset |
string |
No |
The offset. |
latest |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| SecurityGroupId |
string |
No |
The ID of the security group. |
sg-bp1iv19sp1msc7zot4**** |
| Topic |
string |
No |
The name of the topic. |
popvip_center_robot_order |
| VSwitchIds |
string |
No |
The vSwitch ID. |
vsw-bp179l3llg3jjxwrq72**** |
| ValueDataType |
string |
No |
The encoding and decoding format of the message body. Valid values:
|
JSON |
| VpcId |
string |
No |
The VPC ID. |
vpc-8vblalsi0vbhizr77**** |
| SourceMNSParameters |
object |
No |
The MNS source parameters. |
|
| IsBase64Decode |
boolean |
No |
Specifies whether to enable Base64 encoding. Default value: true. |
true |
| QueueName |
string |
No |
The name of the queue. |
queue_api_1642474203601 |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
| SourceMQTTParameters |
object |
No |
The MQTT source parameters. |
|
| BodyDataType |
string |
No |
The encoding format of the message. Valid values:
|
JSON |
| InstanceId |
string |
No |
The instance ID. |
r-bp1b5ncun5lqer**** |
| NetworkType |
string |
No |
The network type. |
PrivateNetwork |
| RegionId |
string |
No |
The region ID. |
cn-shenzhen |
| SecurityGroupId |
string |
No |
The ID of the security group. |
sg-bp1iv19sp1msc7zot4**** |
| Topic |
string |
No |
The topic of the message. |
CANAL_VICUTU_UAT |
| VSwitchIds |
string |
No |
The IDs of the vSwitches to which the Kafka source belongs. |
vsw-bp179l3llg3jjxwrq72**** |
| VpcId |
string |
No |
The VPC ID. |
vpc-8vblalsi0vbhizr77**** |
| SourceMySQLParameters | SourceMySQLParameters |
No |
The MySQL data source parameters. |
|
| SourceOSSParameters |
object |
No |
The OSS event source parameters. |
|
| BucketName |
string |
No |
The name of the Object Storage Service (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 feed). |
\n |
| FileExtensions |
array |
No |
The file extension whitelist. |
["pdf","docx"] |
|
string |
No |
The file extension. |
|
|
| LoadFormat |
string |
No |
The document loader. Valid values:
|
TextLoader |
| LoadMode |
string |
No |
The data loading mode. Valid values:
Valid values:
|
single |
| Prefix |
string |
No |
The file path prefix. |
fun/document/ |
| RoleName |
string |
No |
The name of the RAM role that grants authorization to the event bus EventBridge to read OSS files. The role must have at least read-only permissions on OSS. |
eventbridge_oss_role |
| SourceOpenSourceRabbitMQParameters |
object |
No |
The self-managed RabbitMQ source parameters. |
|
| AuthType |
string |
No |
The authentication type. |
ACL |
| BodyDataType |
string |
No |
The encoding format of the message. Valid values:
|
JSON |
| Endpoint |
string |
No |
The endpoint. |
"Endpoint" |
| NetworkType |
string |
No |
The network type. |
PrivateNetwork |
| Password |
string |
No |
The password of the consumer group account. |
admin |
| QueueName |
string |
No |
The name of the queue. |
queue_api_1642474203601 |
| SecurityGroupId |
string |
No |
The ID of the security group. |
sg-bp1iv19sp1msc7zot4**** |
| Username |
string |
No |
The consumer group account. |
admin |
| VSwitchIds |
string |
No |
The IDs of the vSwitches to which the Kafka source belongs. |
vsw-bp179l3llg3jjxwrq72**** |
| VirtualHostName |
string |
No |
The name of the vhost for the MSMQ message queue RabbitMQ instance. |
eb-connect |
| VpcId |
string |
No |
The VPC ID. |
vpc-8vblalsi0vbhizr77**** |
| SourcePostgreSQLParameters | SourcePostgreSQLParameters |
No |
The PostgreSQL data source parameters. |
|
| SourcePrometheusParameters |
object |
No |
The 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. |
"ExternalLabels" |
| Labels |
string |
No |
The labels. |
__name__=.* |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| RoleName |
string |
No |
The name of the RAM role that grants authorization to the event bus EventBridge to read Simple Log Service logs. When you create 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. |
eventbridge_oss_role |
| SourceRabbitMQMetaParameters | SourceRabbitMQMetaParameters |
No |
The MSMQ message queue RabbitMQ metadata source parameters. |
|
| SourceRabbitMQMsgSyncParameters | SourceRabbitMQMsgSyncParameters |
No |
The MSMQ message queue RabbitMQ message synchronization source parameters. |
|
| SourceRabbitMQParameters |
object |
No |
The RabbitMQ source parameters. |
|
| InstanceId |
string |
No |
The instance ID of the MSMQ message queue RabbitMQ instance. |
gtm-cn-k2c2yfg**** |
| NetworkType |
string |
No |
The network type. |
PrivateNetwork |
| QueueName |
string |
No |
The name of the queue for the MSMQ message queue RabbitMQ instance. |
demo |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| SecurityGroupId |
string |
No |
The ID of the security group. |
sg-bp1iv19sp1msc7zot4**** |
| VSwitchIds |
string |
No |
The IDs of the vSwitches to which the Kafka source belongs. |
vsw-bp179l3llg3jjxwrq72**** |
| VirtualHostName |
string |
No |
The name of the vhost for the MSMQ message queue RabbitMQ instance. |
eb-connect |
| VpcId |
string |
No |
The VPC ID. |
vpc-8vblalsi0vbhizr77**** |
| SourceRocketMQCheckpointParameters |
object |
No |
The RocketMQ checkpoint source. |
|
| InstanceId |
string |
No |
The instance ID. |
r-8vb64581862c**** |
| InstanceType |
string |
No |
The instance type. |
Cloud_4 |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| Topics |
array |
No |
The message topics. |
|
|
string |
No |
The message topics. |
myTopic |
|
| SourceRocketMQParameters |
object |
No |
The RocketMQ source. |
|
| AuthType |
string |
No |
The authentication type. |
ACL |
| BodyDataType |
string |
No |
The message encoding format. Valid values:
|
JSON |
| FilterSql |
string |
No |
The SQL filter statement. |
index > 10 |
| FilterType |
string |
No |
The message filter type. |
Tag |
| GroupID |
string |
No |
The group ID of the Message Queue for RocketMQ instance. |
GID_group1 |
| InstanceEndpoint |
string |
No |
The endpoint of the instance. |
reg****-vpc.cn-zhangjiakou.aliyuncs.com |
| InstanceId |
string |
No |
The region to which the Message Queue for RocketMQ instance belongs. |
default_C56C36026**** |
| InstanceNetwork |
string |
No |
The network information of the instance. Valid values:
|
PublicNetwork |
| InstancePassword |
string |
No |
The password of the instance. |
admin |
| InstanceSecurityGroupId |
string |
No |
The security group information of the instance. |
sg-m5edtu24f12345**** |
| InstanceType |
string |
No |
The instance type. Valid values:
|
Cloud_4 |
| InstanceUsername |
string |
No |
The username of the instance. |
admin |
| InstanceVSwitchIds |
string |
No |
The vSwitch information of the instance. |
vsw-m5ev8asdc6h123456**** |
| InstanceVpcId |
string |
No |
The VPC information of the instance. |
vpc-m5e3sv4b12345**** |
| Network |
string |
No |
The network type. Valid values:
Valid values:
|
PrivateNetwork |
| Offset |
string |
No |
The consumption offset of messages. Valid values:
|
CONSUMEFROMLAST_OFFSET |
| RegionId |
string |
No |
The region ID. |
cn-qingdao |
| SecurityGroupId |
string |
No |
The security group of the cross-border task. |
sg-m5edtu24f12345**** |
| Tag |
string |
No |
The filter tag of messages. |
test |
| Timestamp |
integer |
No |
The timestamp. This parameter takes effect only when the Offset parameter is set to CONSUME_FROM_TIMESTAMP. |
1670656652009 |
| Topic |
string |
No |
The topic of the message service. |
Topic_publicRule_api_1667273421288 |
| VSwitchIds |
string |
No |
The vSwitch IDs of the cross-border task. |
vsw-m5ev8asdc6h12345**** |
| VpcId |
string |
No |
The VPC ID of the cross-border task. |
vpc-m5e3sv4b12345**** |
| SourceSLSParameters |
object |
No |
The Simple Log Service (SLS) source. |
|
| ConsumePosition |
string |
No |
The start consumption offset. You can select the earliest or latest offset, which corresponds to begin or end, respectively. You can also specify a point in time in seconds to start consumption. |
end |
| LogStore |
string |
No |
The Logstore of Simple Log Service. |
sas-log |
| Project |
string |
No |
The project of Simple Log Service. |
test |
| RoleName |
string |
No |
When granting authorization for the EventBridge event bus to use this role to read SLS log content, you must meet the following conditions: when you create the role for the service in the Resource Access Management (RAM) console, you must select Alibaba Cloud Service, and the trusted service must be set to EventBridge. |
testRole |
| Metadata |
string |
No |
The common JSON configurations for the event provider. This parameter is mutually exclusive with the Source parameter. |
{"key":"value"} |
| Sink |
object |
No |
The event target. You must select one and only one sink. |
|
| SinkAgentRunParameters | SinkAgentRunParameters |
No |
The delivery parameters for the agent runtime. |
|
| SinkApacheKafkaParameters |
object |
No |
The description information. |
|
| Acks |
string |
No |
The acknowledgment mode for writing to Kafka. Valid values:
|
all |
| Bootstraps |
string |
No |
The initial endpoint of the Kafka cluster. |
"Bootstraps" |
| CompressionType |
string |
No |
The compression type. |
"CompressionType" |
| DynamicTopic |
object |
No |
Specifies the target topic policy for message routing. If both the Topic and DynamicTopic parameters are specified, the value of the DynamicTopic parameter takes precedence. The following two configuration modes are supported:
|
|
| Form |
string |
No |
The conversion type. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template. |
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. |
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. |
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. |
Template string (if any) |
| Value |
string |
No |
The network type. |
PrivateNetwork |
| SaslMechanism |
string |
No |
The SASL mechanism of the Kafka instance. |
"SaslMechanism" |
| SaslPassword |
string |
No |
The SASL password of the Kafka instance. |
yourPassword |
| SaslUser |
string |
No |
The SASL username of the Kafka instance. |
"SaslUser" |
| SecurityGroupId |
object |
No |
The ID of the security group. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The ID of the security group. |
sg-mw43***** |
| SecurityProtocol |
string |
No |
The Kafka security protocol type. Valid values:
|
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 a password (that is, the PEM file contains the 'Proc-Type: 4,ENCRYPTED' or 'ENCRYPTED' tag), you must provide the decryption password. Leave this parameter empty if the private key is not encrypted. Note: This password is used only to decrypt the private key and is irrelevant 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 the intermediate CA certificate, and the root CA certificate is optional). Note: Ensure that the content of each PEM file starts with '-----BEGIN CERTIFICATE-----' and ends with '-----END CERTIFICATE-----'. Concatenate them before Base64 encoding. |
"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 pattern. You can use KmsArn to specify the Key Management Service (KMS) EPS resource that stores the private key. 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'. How to obtain: 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 uses 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 uses the plaintext mode (directly storing the PEM content of the private key), leave this parameter empty. |
"KmsSecretValueKey" |
| SslTruststoreCertificates |
string |
No |
[Required for SSL scenarios] The Kafka server trust certificate. This certificate is used to authenticate the legitimacy 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 content of the CA certificate PEM file (ensure that the content 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 IDs of the vSwitches to which the Kafka source belongs. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The IDs of the vSwitches to which the Kafka source belongs. |
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. |
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. |
Template string (if any) |
| Value |
string |
No |
The VPC ID. |
i-2ze7u5i17mbqtx1p**** |
| SinkApacheRocketMQCheckpointParameters |
object |
No |
The event source type. |
|
| ConsumeTimestamp |
object |
No |
The timestamp of the consumption checkpoint. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The timestamp. |
1670656652009 |
| Group |
object |
No |
The consumer group. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The consumer group. |
"Group" |
| InstanceEndpoint |
string |
No |
The endpoint of the instance. |
reg****-vpc.cn-zhangjiakou.aliyuncs.com |
| InstancePassword |
string |
No |
The password of the instance. |
admin |
| InstanceUsername |
string |
No |
The username of the instance. |
admin |
| NetworkType |
string |
No |
The network type. |
PrivateNetwork |
| SecurityGroupId |
string |
No |
The ID of the security group. |
sg-bp1iv19sp1msc7zot4**** |
| Topic |
object |
No |
The name of the topic. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The name of the topic. |
demo-topic |
| VSwitchId |
string |
No |
The vSwitch ID. |
"VSwitchId" |
| VpcId |
string |
No |
The VPC ID. |
vpc-8vblalsi0vbhizr77**** |
| SinkApiDestinationParameters | SinkApiDestinationParameters |
No |
The API destination delivery 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 parsed from 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 DashVector sink 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 definitions for records inserted into DashVector. The transformed event content must be in JSON format. |
|
|
array<object> |
No |
The attribute column. |
||
| Name |
object |
No |
The attribute name. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The attribute name. |
content |
| Type |
object |
No |
The DashVector attribute type. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The DashVector attribute type. |
STRING |
| Value |
object |
No |
The attribute value. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
JSONPATH |
| Template |
string |
No |
The template style. |
${content} |
| Value |
string |
No |
The attribute value. |
$.data.content |
| InstanceId |
string |
No |
The instance ID. |
vrs-cn-lbj3ru1*** |
| Network |
string |
No |
The network type. Valid values:
|
PublicNetwork |
| Operation |
string |
No |
The DashVector database operation type. Valid values:
|
Upsert |
| Partition |
object |
No |
The partition. The default value is the default partition. |
|
| Form |
string |
No |
The transformation format. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
${partition} |
| Value |
string |
No |
Note
The Value field cannot exceed 10,240 characters. |
default |
| PrimaryKeyId |
object |
No |
The primary key ID used when inserting or deleting a record. Note
If you do not specify this field, a random primary key ID is used. |
|
| Form |
string |
No |
The transformation format. Valid values:
|
JSONPATH |
| Template |
string |
No |
The primary key ID template. This field is required only when Form is set to TEMPLATE. |
${ID} |
| Value |
string |
No |
Note
The Value field cannot exceed 10,240 characters. |
$.data.requestId |
| Vector |
object |
No |
The vector of the record inserted into DashVector. |
|
| Form |
string |
No |
The transformation format. Valid values:
|
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. |
Template string (if any) |
| Value |
string |
No |
The record content template for the BLOB type. |
{ "key": "value" } |
| Project |
object |
No |
The DataHub project name. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The DataHub project name. |
demo-project |
| RoleName |
object |
No |
The task role name. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The name of the task role. |
test-role |
| Topic |
object |
No |
The DataHub topic name. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The DataHub topic name. |
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:
|
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The topic type. Valid values:
|
TUPLE |
| SinkDataWorksTriggerParameters | SinkDataWorksTriggerParameters |
No |
The DataWorks trigger delivery parameters. |
|
| 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. |
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. |
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. |
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. |
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. |
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. |
Template string (if any) |
| Value |
string |
No |
The password. |
yourPassword |
| QueryEndpoint |
object |
No |
The MySQL protocol endpoint. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The MySQL protocol endpoint. |
"QueryEndpoint" |
| SecurityGroupId |
object |
No |
The ID of the security group. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The ID of the security group. |
sg-mw43***** |
| Table |
object |
No |
The destination table. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
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. |
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. |
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. |
Template string (if any) |
| Value |
string |
No |
The VPC ID. |
i-2ze7u5i17mbqtx1p**** |
| SinkEventHouseParameters |
object |
No |
The event target name. |
|
| CatalogName |
string |
No |
The catalog name. |
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 column name. |
age |
| ColumnType |
string |
No |
The column type. |
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. Valid values:
Valid values:
|
TEMPLATE |
| Template |
string |
No |
The template style. |
The value of ${key} is ${value}! |
| Value |
string |
No |
The value before transformation. |
{ "key": "value" } |
| Concurrency |
object |
No |
The delivery concurrency. The minimum value is 1. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
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 data format. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The data format. |
"DataFormat" |
| FunctionName |
object |
No |
The function name. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
The value of ${key} is ${value}! |
| Value |
string |
No |
The function name. |
myFunction |
| InvocationType |
object |
No |
The invocation type. Valid values:
|
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
The value of ${key} is ${value}! |
| Value |
string |
No |
The invocation type. Valid values:
Valid values:
|
Async |
| Qualifier |
object |
No |
The service version. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
The value of ${key} is ${value}! |
| Value |
string |
No |
The service version. |
LATEST |
| ServiceName |
object |
No |
The service name. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
The value of ${key} is ${value}! |
| Value |
string |
No |
The service name. |
myService |
| SinkFnfParameters |
object |
No |
The Sink Fnf parameters. |
|
| ExecutionName |
object |
No |
The execution name. |
|
| Form |
string |
No |
The transformation format. Default value: CONSTANT. Valid values:
Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The execution name. |
123 |
| FlowName |
object |
No |
The flow name. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The flow name. |
test-streaming-fnf |
| Input |
object |
No |
The input information for the execution. |
|
| Form |
string |
No |
The transformation format. Valid values:
Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
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. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The role configuration. |
Al****FNF-x**** |
| SinkHttpsParameters | SinkHttpsParameters |
No |
The HTTPS delivery parameters. |
|
| SinkKafkaParameters |
object |
No |
The sink Kafka parameters. |
|
| Acks |
object |
No |
The acknowledgment mode for writing to Kafka. Valid values:
|
|
| 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 to Kafka. Valid values:
|
1 |
| CompressionType |
string |
No |
The compression type. |
"CompressionType" |
| DynamicTopic |
object |
No |
Specifies the target topic policy for message routing. If both the Topic and DynamicTopic parameters are specified, the value of the DynamicTopic parameter takes precedence. The following two configuration modes are supported:
|
|
| Form |
string |
No |
The conversion type. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template. |
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. |
Template string (if any) |
| Value |
string |
No |
The message headers. |
"Headers" |
| InstanceId |
object |
No |
The destination service type is MSMQ for Kafka. |
|
| 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 message key. |
|
| 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 message key. |
key |
| Topic |
object |
No |
The topic name. |
|
| 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 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 transformation. |
{ "key": "value" } |
| SinkKnowledgeBaseParameters | SinkKnowledgeBaseParameters |
No |
The knowledge base delivery parameters. |
|
| SinkMNSParameters |
object |
No |
The MNS event target. |
|
| Body |
object |
No |
The message content. |
|
| Form |
string |
No |
The transformation format. Valid values:
|
TEMPLATE |
| Template |
string |
No |
The template style. |
The value of ${key} is ${value}! |
| Value |
string |
No |
The value before transformation. |
{ "key": "value" } |
| IsBase64Encode |
object |
No |
Specifies whether Base64 encoding is enabled. |
|
| Form |
string |
No |
The format of the event transformation. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
The value of ${key} is ${value}! |
| Value |
string |
No |
Enables Base64 encoding. |
true |
| QueueName |
object |
No |
The destination service type is Message Service (MNS). |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
The value of ${key} is ${value}! |
| Value |
string |
No |
The name of the Message Service (MNS) queue. |
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 destination. |
|
| AuthType |
string |
No |
The authentication type. |
ACL |
| Body |
object |
No |
The message content. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The message content. |
{ "key": "value" } |
| Endpoint |
string |
No |
The endpoint. |
"Endpoint" |
| Exchange |
string |
No |
The exchange mode. This parameter is required only when the TargetType parameter is set to Exchange. |
"Exchange" |
| MessageId |
object |
No |
The message ID. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The message ID. |
{ "key": "value" } |
| NetworkType |
string |
No |
The network type. |
PrivateNetwork |
| Password |
string |
No |
The password of the consumer group account. |
admin |
| Properties |
object |
No |
The filter properties. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The filter properties. |
{ "key": "value" } |
| QueueName |
string |
No |
The name of the queue. |
queue_api_1642474203601 |
| RoutingKey |
object |
No |
The routing rule for 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. |
Template string (if any) |
| Value |
string |
No |
The routing rule for the message. This parameter is required only when the TargetType parameter is set to Exchange. |
housekeeping |
| SecurityGroupId |
string |
No |
The ID of the security group. |
sg-bp1iv19sp1msc7zot4**** |
| TargetType |
string |
No |
The destination type. |
Exchange |
| Username |
string |
No |
The consumer group account. |
admin |
| VSwitchIds |
string |
No |
The IDs of the vSwitches to which the Kafka source belongs. |
vsw-bp179l3llg3jjxwrq72**** |
| VirtualHostName |
string |
No |
The name of the vhost for the Message Queue for RabbitMQ instance. |
eb-connect |
| VpcId |
string |
No |
The VPC ID. |
vpc-8vblalsi0vbhizr77**** |
| SinkPrometheusParameters |
object |
No |
The Prometheus sink parameters. |
|
| AuthorizationType |
object |
No |
The authentication type. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The authentication type. Valid values:
|
BASIC_AUTH |
| Data |
object |
No |
The metric content. |
|
| Form |
string |
No |
The transformation format. Default value: JSONPATH. |
JSAONPATH |
| Template |
string |
No |
The template style. |
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:
|
TEMPLATE |
| Template |
string |
No |
The HTTP request header template. Specify this parameter when Form is set to TEMPLATE. The transformed event content must be in JSON format. |
{ "user_name":"${name}" } |
| Value |
string |
No |
Note: The Value field cannot exceed 10,240 characters. |
name |
| NetworkType |
object |
No |
The network type. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The network type. Valid values:
|
PrivateNetwork |
| Password |
object |
No |
The password. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The password. |
yourPassword |
| SecurityGroupId |
object |
No |
The ID of the security group. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The ID of the security group. |
sg-mw43***** |
| URL |
object |
No |
The Prometheus Remote Write URL. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template. Leave this parameter empty when Form is set to CONSTANT. |
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. |
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. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
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. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The VPC ID. |
i-2ze7u5i17mbqtx1p**** |
| 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 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 transformation. |
{ "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 MSMQ for RabbitMQ instance. |
a_exchange |
| InstanceId |
object |
No |
The target service type is MSMQ for RabbitMQ. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
The value of ${key} is ${value}! |
| Value |
string |
No |
The instance ID of MSMQ for RabbitMQ. |
a5ff91ad4f3f24947887fe184fc2**** |
| 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 transformation. |
{ "key": "value" } |
| NetworkType |
object |
No |
The network type. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The network type. |
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 transformation. |
{ "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 for 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 for the message. |
housekeeping |
| SecurityGroupId |
object |
No |
The ID of the security group. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The ID of the security group. |
sg-mw43***** |
| TargetType |
object |
No |
The destination 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/Queue |
| VSwitchIds |
object |
No |
The IDs of the vSwitches to which the Kafka source belongs. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The IDs of the vSwitches to which the Kafka source belongs. |
vbr-8vb835n3zf9shwl****mp |
| VirtualHostName |
object |
No |
The name of the vhost in the MSMQ for RabbitMQ instance. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. Valid values:
|
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The name of the vhost in the MSMQ for RabbitMQ instance. |
rabbit-host |
| VpcId |
object |
No |
The VPC ID. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The VPC ID. |
i-2ze7u5i17mbqtx1p**** |
| SinkRocketMQCheckpointParameters |
object |
No |
The event source type. |
|
| ConsumeTimestamp |
object |
No |
The timestamp of the consumption checkpoint. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The timestamp. |
1670656652009 |
| Group |
object |
No |
The consumer group. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The consumer group. |
"Group" |
| InstanceId |
string |
No |
The instance ID. |
r-8vb64581862c**** |
| InstanceType |
string |
No |
The instance type. |
Cloud_4 |
| Topic |
object |
No |
The name of the topic. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The name of the topic. |
demo-topic |
| SinkRocketMQParameters |
object |
No |
The destination parameters for MSMQ RocketMQ. |
|
| 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 transformation. |
{ "key": "value" } |
| DeliveryOrderType |
object |
No |
The delivery order type. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The delivery order type. |
"DeliveryOrderType" |
| InstanceEndpoint |
object |
No |
The endpoint of the instance. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The endpoint of the instance. |
vbr-8vbsvkkbpf3vb0zef**** |
| InstanceId |
object |
No |
The destination service type is MSMQ RocketMQ. |
|
| 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 instance. |
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. |
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. |
Template string (if any) |
| Value |
string |
No |
The instance type. Valid values:
|
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. |
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 transformation. |
{ "key": "value" } |
| Network |
object |
No |
The network type. Valid values:
|
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The network type. Valid values:
|
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 transformation. |
{ "key": "value" } |
| SecurityGroupId |
object |
No |
The ID of the security group. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The ID of the security group. |
b4bf375515f6440f942e3a20c33d**** |
| ShardingKey |
object |
No |
The sharding key. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The sharding key. |
"ShardingKey" |
| 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 transformation. |
{ "key": "value" } |
| Topic |
object |
No |
The topic of the MSMQ RocketMQ 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 name of the MSMQ RocketMQ instance. |
Mytopic |
| VSwitchIds |
object |
No |
The vSwitch ID. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The vSwitch ID. |
vbr-8vb835n3zf9shwl****mp |
| VpcId |
object |
No |
The VPC ID. |
|
| Form |
string |
No |
The format of the event transformation. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
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 transformation. |
{ "key": "value" } |
| ContentSchema |
object |
No |
The key-value pairs for custom 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 template style. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The value before transformation. |
{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}} |
| ContentType |
object |
No |
The SLS data format. Valid values:
|
|
| Form |
string |
No |
The transformation format. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The value before transformation. |
JSON |
| LogStore |
object |
No |
The Logstore of Simple Log Service. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The Logstore of Simple Log Service. |
test-logstore |
| Project |
object |
No |
The project of Simple Log Service. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The project of Simple Log Service. |
test-project |
| RoleName |
object |
No |
When granting authorization for the event bus EventBridge to use this role to read SLS log content, the following conditions must be met: when you create the role used by 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. |
Template string (if any) |
| Value |
string |
No |
When granting authorization for the event bus EventBridge to use this role to read SLS log content, the following conditions must be met: when you create the role used by 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 topic reserved field in SLS. |
|
| Form |
string |
No |
The conversion format. Default value: CONSTANT. |
CONSTANT |
| Template |
string |
No |
The template style. |
Template string (if any) |
| Value |
string |
No |
The topic of the log. This corresponds to the topic reserved field 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 hold. When this threshold is reached, the data in the window is pushed downstream. If multiple windows exist, the push is triggered when any window reaches the threshold. |
100 |
| TimeBasedWindow |
integer |
No |
The maximum time window in seconds for batching events. When this threshold is reached, the data in the window is pushed downstream. If multiple windows exist, the push is triggered when any window reaches the threshold. |
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 configuration. Default value: Default. For a VPC network, the value is PublicNetwork. |
Default |
| SecurityGroupId |
string |
No |
The ID of the security group. |
sg-bp1iv19sp1msc7zot4**** |
| VSwitchIds |
string |
No |
The IDs of the vSwitches to which the Kafka source belongs. |
vsw-bp179l3llg3jjxwrq72**** |
| VpcId |
string |
No |
The VPC ID. |
vpc-8vblalsi0vbhizr77**** |
| ErrorsTolerance |
string |
No |
The error tolerance policy. Valid values:
|
ALL |
| MaximumTasks |
integer |
No |
The concurrency. |
2 |
| RetryStrategy |
object |
No |
The retry policy used when an event push fails. |
|
| 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 |
| 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 vectorization 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. |
|
| EmbeddingTransformParameters | EmbeddingTransformParameters |
No |
The embedding transform parameters. |
|
| Tags |
array<object> |
No |
The list of tags. You can specify up to 20 tags. |
|
|
object |
No |
|||
| Key |
string |
No |
The tag key. |
env |
| Value |
string |
No |
The tag value. |
prod |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request parameters. |
||
| Code |
string |
The API return code. Valid values:
|
Success |
| Data |
object |
The returned data. |
|
| EventStreamingARN |
string |
The Alibaba Cloud Resource Name (ARN) of the event stream. |
acs:eventbridge:cn-hangzhou:164901546557****:eventstreaming/myeventstreaming |
| Message |
string |
The error message. |
The name [xxxx] of event streaming in request is already exist! |
| RequestId |
string |
The request ID. |
B896B484-F16D-59DE-9E23-DD0E5C36**** |
| Success |
boolean |
Indicates whether the operation is successful. A value of true indicates that the operation is successful. |
true |
Examples
Success response
JSON format
{
"Code": "Success",
"Data": {
"EventStreamingARN": "acs:eventbridge:cn-hangzhou:164901546557****:eventstreaming/myeventstreaming"
},
"Message": "The name [xxxx] of event streaming in request is already exist!",
"RequestId": "B896B484-F16D-59DE-9E23-DD0E5C36****",
"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.