UpdateEventStreaming

Updated at:

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

Operation description

Modifies the basic information, event source, event filter pattern, or event target 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 filter pattern. If you do not specify this parameter, all events are matched. For more information, see 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 specify one and only one source type.

SourceMNSParameters

object

No

The parameters for Simple Message Queue (formerly MNS) as the source.

RegionId

string

No

The region ID.

cn-hangzhou

QueueName

string

No

The name of the queue.

queue_api_1642474203601

IsBase64Decode

boolean

No

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

true

SourceRabbitMQParameters

object

No

The RabbitMQ source.

RegionId

string

No

The region ID.

cn-hangzhou

InstanceId

string

No

The instance ID of ApsaraMQ for RabbitMQ.

i-f8z9lqkldlb4oxsxwwub

VirtualHostName

string

No

The name of the vhost in the ApsaraMQ for RabbitMQ instance.

eb-connect

QueueName

string

No

The name of the queue in the ApsaraMQ for RabbitMQ instance.

demo

VpcId

string

No

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

vpc-bp1xxxxxxxxxxxx

VSwitchIds

string

No

The IDs of the vSwitches 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

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

NetworkType

string

No

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

  • PublicNetwork: Internet.

  • PrivateNetwork: 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 configurations, you must pass these network parameters at the same time.

PrivateNetwork

SourceKafkaParameters

object

No

The Kafka source.

RegionId

string

No

The region ID.

cn-zhangjiakou

InstanceId

string

No

The instance ID.

i-8vbh4a5b9yfhgkkzm****

Topic

string

No

The name of the topic.

topic_empower_1641539400786

ConsumerGroup

string

No

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

DEFAULT_GROUP

OffsetReset

string

No

The offset.

latest

Network

string

No

The network configuration. Default value: Default. The value for a VPC is PublicNetwork.

Valid values:

  • PublicNetwork
  • Default

Default

VpcId

string

No

The ID of the VPC.

vpc-2ze6p0o345nykmekxt****

VSwitchIds

string

No

The vSwitch ID.

vsw-wz9t1l1e8eu2om****

SecurityGroupId

string

No

The security group ID.

sg-uf6jcm3y5hcs7hkl****

ValueDataType

string

No

The encoding and decoding parameter. Valid values:

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

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

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

Text

SourceRocketMQParameters

object

No

The RocketMQ source.

RegionId

string

No

The region ID of ApsaraMQ for RocketMQ.

cn-shanghai

InstanceId

string

No

The instance ID of ApsaraMQ for RocketMQ.

i-f8z9a9mcgwri1c1id****

Topic

string

No

The name of the topic.

TOPIC-cainiao-pcs-order-process-inBoundConditionCheck

Tag

string

No

The filter tag of the message.

test

Offset

string

No

The consumption offset of the message. Valid values:

  • CONSUMEFROMLASTOFFSET: Consumes from the latest offset.

  • CONSUMEFROMFIRSTOFFSET: Consumes from the earliest offset.

  • CONSUMEFROMTIMESTAMP: Consumes from the offset at a specified point in time. Default value: CONSUMEFROMLAST_OFFSET.

CONSUMEFROMLASTOFFSET

GroupID

string

No

The group ID of ApsaraMQ for RocketMQ.

GID_test

Timestamp

integer

No

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

1670656652009

InstanceType

string

No

The instance type. Valid values:

  • Cloud_4 (default): Alibaba Cloud RocketMQ 4.0 instance.

  • Cloud_5: Alibaba Cloud RocketMQ 5.0 instance.

  • SelfBuilt: Self-managed Apache RocketMQ instance.

Cloud_5

InstanceEndpoint

string

No

The endpoint of the instance.

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

InstanceUsername

string

No

The username of the instance.

admin

InstancePassword

string

No

The password of the instance.

admin

AuthType

string

No

The authentication type.

ACL

InstanceVpcId

string

No

The VPC information of the instance.

vpc-m5e3sv4b12345****

InstanceVSwitchIds

string

No

The vSwitch information of the instance.

vsw-m5ev8asdc6h12****

InstanceSecurityGroupId

string

No

The security group information of the instance.

sg-m5edtu24f12345****

InstanceNetwork

string

No

The network information of the instance. Valid values:

  • PublicNetwork

  • PrivateNetwork

PublicNetwork

BodyDataType

string

No

The message encoding format. Valid values:

  • Json

  • Text

  • Binary

Json

FilterType

string

No

The message filter type.

Tag

FilterSql

string

No

The SQL filter statement.

index > 10

VpcId

string

No

The VPC ID of the instance.

vpc-m5e3sv4b12345****

VSwitchIds

string

No

The vSwitch ID.

vsw-m5ev8asdc6h12345****

SecurityGroupId

string

No

The security group ID.

sg-m5edtu24f12345****

Network

string

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

PublicNetwork

SourceRocketMQCheckpointParameters

object

No

The RocketMQ Checkpoint source.

RegionId

string

No

The region ID.

cn-hangzhou

InstanceType

string

No

The type of the ApsaraMQ for RocketMQ instance.

Cloud_5

InstanceId

string

No

The instance ID of the ApsaraMQ for RocketMQ instance.

rmq-cn-jte3w******

Topics

array

No

The topic of the ApsaraMQ for RocketMQ instance.

string

No

The topic of the ApsaraMQ for RocketMQ instance.

myTopic

SourceApacheRocketMQCheckpointParameters

object

No

The RocketMQ Checkpoint source.

RegionId

string

No

The region ID.

cn-hangzhou

Topics

array

No

The topics of the Apache RocketMQ instance.

string

No

The topics of the Apache RocketMQ instance.

myTopic

InstanceEndpoint

string

No

The endpoint of the Apache RocketMQ instance.

192.168.1.1:9876

InstanceUsername

string

No

The username of the Apache RocketMQ instance.

admin

InstancePassword

string

No

The password of the Apache RocketMQ instance.

yourPassword

NetworkType

string

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

PrivateNetwork

VpcId

string

No

The ID of the VPC.

vpc-adw1awdw*****

VSwitchId

string

No

The vSwitch ID.

vsw-dwaafds****

SecurityGroupId

string

No

The security group ID.

sg-mw43*****

SourceMQTTParameters

object

No

The MQTT event source.

RegionId

string

No

The region ID.

cn-shanghai

InstanceId

string

No

The instance ID.

i-bp1dsudbecqwt61j****

Topic

string

No

The name of the topic.

topic_empower_1642400400779

BodyDataType

string

No

The message encoding format. Valid values:

  • JSON

  • Text

  • Binary

JSON

NetworkType

string

No

The network type.

PrivateNetwork

VpcId

string

No

The ID of the VPC.

vpc-8vblalsi0vbhizr77****

VSwitchIds

string

No

The IDs of the vSwitches.

vsw-bp179l3llg3jjxwrq72****

SecurityGroupId

string

No

The security group ID.

sg-bp1iv19sp1msc7zot4****

SourceDTSParameters

object

No

The DTS event source.

TaskId

string

No

The task ID.

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

BrokerUrl

string

No

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

"BrokerUrl"

Topic

string

No

The subscription topic of the data subscription channel.

LTC_CACHE_PRD

Sid

string

No

The consumer group ID.

hkprdb

Username

string

No

The username of the consumer group.

admin

Password

string

No

The password of the consumer group.

admin

InitCheckPoint

integer

No

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

1620962769

SourceSLSParameters

object

No

The SLS event source.

RoleName

string

No

When granting authorization to 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 set the trusted service to the event bus.

testRole

SourcePrometheusParameters

object

No

The Prometheus event source.

RegionId

string

No

The region ID of the instance.

cn-hangzhou

ClusterId

string

No

The cluster ID.

c83555068b6******ad213f565f209

DataType

string

No

The data type.

Json

Labels

string

No

The labels.

__name__=.*

RoleName

string

No

The name of the task role.

test-role

ExternalLabels

string

No

The external labels attached to the event stream.

{"env":"test"}

SourceCustomizedKafkaParameters

object

No

The custom Kafka event source.

InstanceId

string

No

The instance ID of MSMQ for Apache Kafka.

r-8vb64581862c****

SourceCustomizedKafkaConnectorParameters

object

No

The custom Apache Kafka connector 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.

Name

string

No

The connector name.

test-name

Config

object

No

The connector configuration.

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

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" }

SourceApacheKafkaParameters

object

No

The open-source Kafka parameter settings.

Bootstraps

string

No

The endpoints.

"Bootstraps"

SslKeystoreCertificateChain

string

No

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

"SslKeystoreCertificateChain"

SslKeyPassword

string

No

[Required for encrypted private keys] The Kafka client private key password. This parameter is required when the client private key is encrypted (the PEM file contains the 'Proc-Type: 4,ENCRYPTED' or 'ENCRYPTED' tag). Leave this parameter empty if the private key is not encrypted. Note: This password is only used to decrypt the private key and is unrelated to Kafka authentication.

yourPassword

SslTruststoreCertificates

string

No

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

"SslTruststoreCertificates"

SslKeystoreKey

object

No

[Required for bidirectional authentication] The SSL private key configuration object. This parameter is required when bidirectional SSL authentication is enabled on the Kafka server. Only the KMS mode is supported for keys: 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 for higher security. Configuration example: {"KmsArn": "acs:kms:cn-hangzhou:123456789:secret/ssl-key-xxxx", "KmsSecretValueKey": "keystore_private_key"}.

KmsArn

string

No

[Required] The KMS resource ARN for storing 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. When the KMS secret is a key-value (KV) pair, 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 plaintext mode (directly storing the PEM content of the private key), leave this parameter empty.

"KmsSecretValueKey"

Topic

string

No

The topic name.

LTC_CACHE_PRD

ConsumerGroup

string

No

The consumer group name.

DEFAULT_GROUP

OffsetReset

string

No

The consumption checkpoint. Valid values:

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

  • earliest: The system reads data from the earliest checkpoint. This value is only supported for the first initialization of an unused consumer group.

latest

ValueDataType

string

No

The data type. Valid values:

  • Text

  • Binary

  • Json

JSON

VpcId

string

No

The VPC ID of the Kafka event source.

vpc-8vblalsi0vbhizr77****

VSwitchIds

string

No

The vSwitch IDs of the Kafka event source.

vsw-bp179l3llg3jjxwrq72****

SecurityGroupId

string

No

The security group ID of the Kafka event source.

sg-bp1iv19sp1msc7zot4****

NetworkType

string

No

The Kafka network type.

PrivateNetwork

SecurityProtocol

string

No

The Kafka security protocol type. Valid values:

  • SASL_SSL

  • PLAINTEXT

  • SASL_PLAINTEXT

SASL_SSL

SaslMechanism

string

No

The Kafka SASL authentication mechanism.

"SaslMechanism"

SaslUser

string

No

The Kafka SASL authentication username.

"SaslUser"

SaslPassword

string

No

The Kafka SASL authentication password.

yourPassword

SourceOSSParameters

object

No

The OSS event source.

RoleName

string

No

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

eventbridge_oss_role

BucketName

string

No

The name of the OSS bucket.

bucket_abc

Prefix

string

No

The file path prefix.

fun/document/

LoadMode

string

No

The data loading mode. Valid values:

  • single: Loads a single document.

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

single

LoadFormat

string

No

The document loader.

TextLoader

Delimiter

string

No

The delimiter used as the chunk identifier for text in chunk loading mode. Default value: \n.

\n

FileExtensions

array

No

The file extension whitelist.

["pdf","docx"]

string

No

The extension type.

txt

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

SourceOpenSourceRabbitMQParameters

object

No

The open source RabbitMQ event source.

Endpoint

string

No

The endpoint of the instance.

192.168.1.1:9876

VirtualHostName

string

No

The name of the virtual host for the open source RabbitMQ instance.

Vhost1

QueueName

string

No

The name of the queue for the open source RabbitMQ instance.

demo

BodyDataType

string

No

The data type of the message body.

Json

Username

string

No

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

admin

Password

string

No

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

yourPassword

VpcId

string

No

The ID of the VPC.

vpc-m5e3sv4b12345****

VSwitchIds

string

No

The vSwitch ID.

vsw-m5ev8asdc6h12345****

SecurityGroupId

string

No

The security group ID.

sg-m5edtu24f12345****

NetworkType

string

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

PrivateNetwork

AuthType

string

No

The authentication type.

ACL

SourceMySQLParameters SourceMySQLParameters

No

The MySQL event source.

SourcePostgreSQLParameters SourcePostgreSQLParameters

No

The PostgreSQL data source parameters.

SourceRabbitMQMetaParameters SourceRabbitMQMetaParameters

No

The ApsaraMQ for RabbitMQ metadata source parameters.

SourceRabbitMQMsgSyncParameters SourceRabbitMQMsgSyncParameters

No

The ApsaraMQ for RabbitMQ message synchronization source parameters.

SourceFeiShuDocsParameters SourceFeiShuDocsParameters

No

The Lark document source parameters.

SourceJDBCParameters SourceJDBCParameters

No

The JDBC data source parameters.

Metadata

string

No

The common JSON configurations for the event provider. This parameter is mutually exclusive with Source.

{"key":"value"}

Sink

object

No

The event target. You must select exactly one sink.

SinkMNSParameters

object

No

The Simple Message Queue (formerly MNS) event target.

QueueName

object

No

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

Value

string

No

The name of the queue in Simple Message Queue (formerly MNS).

MyQueue

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

Body

object

No

The message content.

Value

string

No

The value before transformation.

{ "key": "value" }

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

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

IsBase64Encode

object

No

Specifies whether to enable Base64 encoding.

Value

string

No

Enables Base64 encoding.

true

Form

string

No

The event transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

SinkEventHouseParameters

object

No

The event target name.

CatalogName

string

No

The catalog name.

demo

NamespaceName

string

No

The namespace of the target table.

name1

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.

ColumnValue

object

No

The extraction rule for the column value.

Value

string

No

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

$.data.value

Form

string

No

The transformation method, such as JSONPATH.

JSONPATH

Template

string

No

The template configuration.

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

ColumnName

string

No

The column name.

age

ColumnType

string

No

The column type.

Valid values:

  • text
  • bigint
  • json
  • timestamp
  • double

text

SinkFcParameters

object

No

The function target.

ServiceName

object

No

The name of the service.

Value

string

No

The name of the service.

myService

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

FunctionName

object

No

The name of the function.

Value

string

No

The name of the function.

mFunction

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

Concurrency

object

No

The delivery concurrency. Minimum value: 1.

Value

string

No

The delivery concurrency. Minimum value: 1.

1

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

Qualifier

object

No

The alias of the service to which the function belongs.

Value

string

No

The alias of the service to which the function belongs.

LATEST

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

InvocationType

object

No

The invocation type. Valid values:

  • Sync: Synchronous.

  • Async: Asynchronous.

Value

string

No

The invocation type.

Async

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

Body

object

No

The body sent to the function.

Value

string

No

The value before transformation.

{ "key": "value" }

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

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

DataFormat

object

No

The format transformation rule for the event content.

Value

string

No

The value before transformation.

{ "key": "value" }

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

SinkRabbitMQParameters

object

No

The parameters for the ApsaraMQ for RabbitMQ sink.

InstanceId

object

No

The target service type is ApsaraMQ for RabbitMQ.

Value

string

No

The instance ID of the ApsaraMQ for RabbitMQ instance.

amqp-cn-2r42e73o****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

VirtualHostName

object

No

The name of the vhost in the ApsaraMQ for RabbitMQ instance.

Value

string

No

The name of the vhost in the ApsaraMQ for RabbitMQ instance.

rabbit-host

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

TargetType

object

No

The target type.

Value

string

No

The target type. Valid values:

  • Exchange: Exchange mode.

  • Queue: Queue mode.

Exchange/Queue

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

Exchange

object

No

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

Value

string

No

The name of the exchange in the ApsaraMQ for RabbitMQ instance.

a_exchange

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

RoutingKey

object

No

The routing rule for messages. This parameter is required only when the TargetType parameter is set to Exchange.

Value

string

No

The routing rule for messages.

housekeeping

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

QueueName

object

No

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

Value

string

No

The name of the queue in the instance.

MyQueue

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

Body

object

No

The message content.

Value

string

No

The value before transformation.

{ "key": "value" }

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

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

MessageId

object

No

The message ID.

Value

string

No

The value before transformation.

{ "key": "value" }

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

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

Properties

object

No

The filter properties.

Value

string

No

The value before transformation.

{ "key": "value" }

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

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

VpcId

object

No

The VPC configuration for the target ApsaraMQ for RabbitMQ instance. This parameter is required when the value of NetworkType is set to PrivateNetwork.

Value

string

No

The VPC ID of the target ApsaraMQ for RabbitMQ instance.

vpc-bp1xxxxxxxxxxxx

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 and does not require template conversion. You do not need to specify this field.

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

VSwitchIds

object

No

The vSwitch configuration used to connect to the target ApsaraMQ for RabbitMQ instance. This parameter is required when the value of NetworkType is set to PrivateNetwork.

Value

string

No

The vSwitch IDs used to connect to the target ApsaraMQ for RabbitMQ instance. Separate multiple vSwitch IDs with commas.

vsw-bp1xxxxxxxxxxxx,vsw-bp1yyyyyyyyyyyy

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 and does not require template conversion. You do not need to specify this field.

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

SecurityGroupId

object

No

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

Value

string

No

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

sg-bp1xxxxxxxxxxxx

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 and does not require template conversion. You do not need to specify this field.

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

NetworkType

object

No

The network type configuration used to connect to the target ApsaraMQ for RabbitMQ instance. 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 private network configuration, you must specify these network parameters together.

Value

string

No

The network type used to connect to the target ApsaraMQ for RabbitMQ instance. Valid values: PublicNetwork, which indicates the Internet, and PrivateNetwork, which indicates a VPC.

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 and does not require template conversion. You do not need to specify this field.

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

SinkKafkaParameters

object

No

The Sink Kafka parameters.

InstanceId

object

No

The target service type is MSMQ for Apache Kafka.

Value

string

No

The instance ID.

Defaut_1283278472_s****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

CompressionType

string

No

The compression type.

"CompressionType"

Topic

object

No

The topic name.

Value

string

No

The topic name.

test

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

DynamicTopic

object

No

Specifies 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 two configuration modes are supported: 1. Static constant mode: Enter a fixed topic name string (for example, "order_created"). All messages are sent to this topic. 2. Dynamic extraction mode: Enter a standard JSONPath expression (for example, "$.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.

Value

string

No

The value.

"DynamicTopic"

Form

string

No

The transformation type. Valid values:

  • CONSTANT: a fixed value.

  • JSONPATH: extracted from the upstream message based on the path.

CONSTANT

Template

string

No

The template.

Template string (if any)

Headers

object

No

The additional metadata of the Kafka message.

Value

string

No

The value before transformation.

{ "key": "value" }

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}!

Acks

object

No

The Kafka write acknowledgment mode. Valid values:

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

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

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

Value

string

No

The Kafka write acknowledgment mode. Valid values:

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

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

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

1

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

Key

object

No

The message identifier.

Value

string

No

The message identifier.

key

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

Value

object

No

The message body.

Value

string

No

The value before transformation.

{ "key": "value" }

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

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

SinkApacheKafkaParameters

object

No

The description.

Bootstraps

string

No

The initial endpoints of the Kafka cluster.

"Bootstraps"

Topic

string

No

The topic name.

LTC_CACHE_PRD

DynamicTopic

object

No

Specifies 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 two configuration modes are supported: 1. Static constant mode: Enter a fixed topic name string (for example, "order_created"). All messages are sent to this topic. 2. Dynamic extraction mode: Enter a standard JSONPath expression (for example, "$.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.

Value

string

No

The value.

"DynamicTopic"

Form

string

No

The transformation type. Valid values:

  • CONSTANT: a fixed value.

  • JSONPATH: extracted from the upstream message based on the path.

CONSTANT

Template

string

No

The template.

Template string (if any)

Acks

string

No

The Kafka write acknowledgment mode. Valid values:

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

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

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

all

Key

object

No

The message key.

Value

string

No

The message key.

key

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Value

object

No

The message body.

Value

string

No

The message body.

$.data.content

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

CompressionType

string

No

The compression type.

"CompressionType"

SecurityProtocol

string

No

The Kafka security protocol type. Valid values:

  • SASL_SSL

  • PLAINTEXT

  • SASL_PLAINTEXT

SASL_SSL

SaslMechanism

string

No

The Kafka SASL authentication mechanism.

"SaslMechanism"

SaslUser

string

No

The Kafka SASL authentication username.

"SaslUser"

VpcId

object

No

The ID of the VPC.

Value

string

No

The ID of the VPC.

i-2ze7u5i17mbqtx1p****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

VSwitchIds

object

No

The vSwitch IDs of the Kafka event source.

Value

string

No

The vSwitch IDs of the Kafka event source.

vbr-8vb835n3zf9shwl****mp

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

SecurityGroupId

object

No

The security group ID.

Value

string

No

The security group ID.

sg-mw43*****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

NetworkType

object

No

The network type.

Value

string

No

The network type.

PrivateNetwork

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Headers

object

No

The message headers.

Value

string

No

The message headers.

"Headers"

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

SaslPassword

string

No

The Kafka SASL authentication password.

yourPassword

SslKeystoreCertificateChain

string

No

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

"SslKeystoreCertificateChain"

SslKeyPassword

string

No

[Required for encrypted private keys] The Kafka client private key password. This parameter is required when the client private key is encrypted (the PEM file contains the 'Proc-Type: 4,ENCRYPTED' or 'ENCRYPTED' tag). Leave this parameter empty if the private key is not encrypted. Note: This password is only used to decrypt the private key and is unrelated to Kafka authentication.

yourPassword

SslTruststoreCertificates

string

No

[Required for SSL] The Kafka server trust certificate. It is used to verify the validity of the Kafka broker SSL certificate and prevent man-in-the-middle attacks. Format requirements: Base64-encoded PEM format, typically containing the Kafka server CA certificate or the server certificate itself. Example: Base64-encode the PEM file content of the CA certificate (ensure it starts with '-----BEGIN CERTIFICATE-----' and ends with '-----END CERTIFICATE-----'). If Kafka uses a self-signed certificate, provide the CA certificate that issued it.

"SslTruststoreCertificates"

SslKeystoreKey

object

No

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

KmsArn

string

No

[Required] The KMS resource ARN for storing 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. When the KMS secret is a key-value (KV) pair, 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 plaintext mode (directly storing the PEM content of the private key), leave this parameter empty.

"KmsSecretValueKey"

SinkRocketMQParameters

object

No

The sink parameters for Message Queue for RocketMQ.

InstanceId

object

No

The destination service type is Message Queue for RocketMQ.

Value

string

No

The instance ID of the Message Queue for RocketMQ.

MQ_INST_164901546557****_BAAN****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

Topic

object

No

The topic of the Message Queue for RocketMQ instance.

Value

string

No

The topic of the Message Queue for RocketMQ instance.

Mytopic

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

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

Body

object

No

The message content.

Value

string

No

The value before transformation.

{ "key": "value" }

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

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

Properties

object

No

The filter properties.

Value

string

No

The value before transformation.

{ "key": "value" }

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

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

Keys

object

No

The filter properties.

Value

string

No

The value before transformation.

{ "key": "value" }

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

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

Tags

object

No

The filter properties.

Value

string

No

The value before transformation.

{ "key": "value" }

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

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

InstanceType

object

No

The instance type.

Value

string

No

The instance type. Valid values:

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

  • Cloud_5: ApsaraMQ for RocketMQ 5.0 instance.

  • SelfBuilt: Self-managed Apache RocketMQ cluster.

Cloud_4

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

InstanceEndpoint

object

No

The endpoint of the instance.

Value

string

No

The endpoint of the instance.

vbr-8vbsvkkbpf3vb0zef****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

InstanceUsername

object

No

The username of the instance.

Value

string

No

The username of the instance.

admin

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

InstancePassword

object

No

The password of the instance.

Value

string

No

The password of the instance.

admin****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

VpcId

object

No

The ID of the VPC.

Value

string

No

The ID of the VPC.

vbr-8vb835n3zf9shwlvb****

Form

string

No

The event transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

VSwitchIds

object

No

The vSwitch ID.

Value

string

No

The vSwitch ID.

vbr-8vb835n3zf9shwl****mp

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

SecurityGroupId

object

No

The security group ID.

Value

string

No

The security group ID.

b4bf375515f6440f942e3a20c33d****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Network

object

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

Value

string

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

PublicNetwork

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

DeliveryOrderType

object

No

The message delivery order type. This parameter is optional. Default value: Concurrent delivery.

Value

string

No

The delivery order type. Valid values:

  • Orderly: Orderly delivery.

  • Concurrently: Concurrent delivery.

Concurrently

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

ShardingKey

object

No

The sharding key of the message.

Note

When DeliveryOrderType is set to Orderly, this parameter specifies the event content transformation rule for the ShardingKey attribute when messages are written to the downstream service. When Source is set to RocketMQ, ShardingKey can be left empty. In this case, the message sharding key is generated by concatenating the upstream BrokerName and QueueId.

Value

string

No

The sharding key value.

order_id

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

SinkDorisParameters

object

No

The event source type.

QueryEndpoint

object

No

The MySQL protocol endpoint.

Value

string

No

The MySQL protocol endpoint.

"QueryEndpoint"

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

FeHttpEndpoint

object

No

The FE HTTP protocol endpoint.

Value

string

No

The FE HTTP protocol endpoint.

"FeHttpEndpoint"

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

BeHttpEndpoint

object

No

The BE public HTTP endpoint.

Value

string

No

The BE public HTTP endpoint.

"BeHttpEndpoint"

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

UserName

object

No

The username.

Value

string

No

The username.

"UserName"

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Password

object

No

The password.

Value

string

No

The password.

yourPassword

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Database

object

No

The database.

Value

string

No

The database.

"Database"

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Body

object

No

The message content.

Value

string

No

The message content.

{ "key": "value" }

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Table

object

No

The destination table.

Value

string

No

The destination table.

"Table"

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

NetworkType

object

No

The network.

Value

string

No

The network.

PublicNetwork

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

VpcId

object

No

The ID of the VPC.

Value

string

No

The ID of the VPC.

i-2ze7u5i17mbqtx1p****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

VSwitchIds

object

No

The vSwitch IDs.

Value

string

No

The vSwitch IDs.

vbr-8vb835n3zf9shwl****mp

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

SecurityGroupId

object

No

The security group.

Value

string

No

The security group.

sg-mw43*****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

SinkRocketMQCheckpointParameters

object

No

The event source type.

InstanceType

string

No

The instance type. Valid values:

  • Cloud_4: ApsaraMQ for RocketMQ 4.0 instance.

  • Cloud_5: ApsaraMQ for RocketMQ 5.0 instance.

Cloud_4

InstanceId

string

No

The instance ID.

MQ_INST_164901546557****_BAAN****

Topic

object

No

The topic of the ApsaraMQ for RocketMQ instance.

Value

string

No

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

Mytopic

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

ConsumeTimestamp

object

No

The timestamp when the message is consumed.

Value

string

No

The timestamp.

1570761026400

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Group

object

No

The group ID of the consumer group.

Value

string

No

The consumer group.

GID_EVENTBRIDGE_1736234******

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

SinkApacheRocketMQCheckpointParameters

object

No

The event source type.

Topic

object

No

The topic of the RocketMQ instance.

Value

string

No

The name of the topic in the RocketMQ instance.

Mytopic

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

ConsumeTimestamp

object

No

The timestamp when the message is consumed.

Value

string

No

The timestamp.

1570761026400

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Group

object

No

The group ID of the consumer group.

Value

string

No

The consumer group.

GID_EVENTBRIDGE_1736234******

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

InstanceEndpoint

string

No

The endpoint of the instance.

192.168.1.1:9876

InstanceUsername

string

No

The username required for authentication.

admin

InstancePassword

string

No

The password of the user.

yourPassword

NetworkType

string

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

PrivateNetwork

VpcId

string

No

The VPC ID.

vpc-2zeccak5pb0j3ay******

VSwitchId

string

No

The vSwitch ID.

vsw-uf62oqt1twuevrt******

SecurityGroupId

string

No

The security group ID.

sg-2ze5bmpw6adn0q******

SinkSLSParameters

object

No

The Simple Log Service sink parameters.

Project

object

No

The Simple Log Service project.

Value

string

No

The Simple Log Service project.

test-project

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

LogStore

object

No

The Simple Log Service Logstore.

Value

string

No

The Simple Log Service Logstore.

test-logstore

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Topic

object

No

The topic to which the logs belong, which corresponds to the reserved Simple Log Service field topic.

Value

string

No

The topic to which the logs belong, which corresponds to the reserved Simple Log Service field topic.

testTopic

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Body

object

No

The content sent to Simple Log Service.

Value

string

No

The value before transformation.

{ "key": "value" }

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

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

RoleName

object

No

To authorize EventBridge to use this role to read Simple Log Service logs, the following condition 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 set the trusted service to the event bus.

Value

string

No

To authorize EventBridge to use this role to read Simple Log Service logs, the following condition 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 set the trusted service to the event bus.

testRole

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

ContentType

object

No

The Simple Log Service data format. Valid values:

  • JSON

  • KeyValue

Value

string

No

The Simple Log Service data format.

JSON

Form

string

No

The transformation format.

CONSTANT

Template

string

No

The template style.

Template string (if any)

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.

Value

string

No

The custom key-value pairs.

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

Form

string

No

The transformation format.

CONSTANT

Template

string

No

The template style.

Template string (if any)

SinkFnfParameters

object

No

The Sink FNF parameters.

FlowName

object

No

The name of the flow.

Value

string

No

The name of the flow.

test-streaming-fnf

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

ExecutionName

object

No

The name of the execution.

Value

string

No

The name of the execution.

123

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Input

object

No

The input for the execution.

Value

string

No

The input for the execution.

123

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

RoleName

object

No

The role configuration.

Value

string

No

The role configuration.

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

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

SinkPrometheusParameters

object

No

The Sink Prometheus parameters.

URL

object

No

The Prometheus Remote Write URL.

Value

string

No

The Prometheus Remote Write URL.

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

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

HeaderParameters

object

No

The data structure of the request header parameters.

Value

string

No

The value.

  • If Form is CONSTANT: the constant value.

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

  • If Form is TEMPLATE: the template variable.

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

name

Form

string

No

The transformation format. Valid values:

  • JSONPATH: The JSONPath format.

  • CONSTANT: The constant format.

  • TEMPLATE: The template format.

TEMPLATE

Template

string

No

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

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

AuthorizationType

object

No

The authentication method.

Value

string

No

The authentication method.

BASIC_AUTH

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Username

object

No

The username.

Value

string

No

The username.

***admin

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Password

object

No

The password.

Value

string

No

The password.

abc

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Data

object

No

The metric content.

Value

string

No

The metric content.

$.data

Form

string

No

The transformation format. Default value: JSONPATH.

JSONPATH

Template

string

No

The template style.

Template string (if any)

NetworkType

object

No

The network type.

Value

string

No

The network type. Valid values:

  • PublicNetwork

  • PrivateNetwork

PrivateNetwork

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

VpcId

object

No

The ID of the VPC.

Value

string

No

The ID of the VPC.

vpc-adw1awdw*****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

VSwitchId

object

No

The vSwitch ID.

Value

string

No

The vSwitch ID.

vsw-dwaafds****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

SecurityGroupId

object

No

The security group ID.

Value

string

No

The security group ID.

sg-mw43*****

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

SinkDataHubParameters

object

No

The DataHub sink parameters.

Project

object

No

The DataHub project name.

Value

string

No

The DataHub project name.

demo-project

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

Topic

object

No

The DataHub topic name.

Value

string

No

The DataHub topic name.

demo-topic

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

TopicType

object

No

The topic type. Valid values:

  • TUPLE

  • BLOB

Value

string

No

The topic type. Valid values:

  • TUPLE

  • BLOB

TUPLE

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

TopicSchema

object

No

The topic content schema for the TUPLE type.

Value

string

No

The topic content schema for the TUPLE type.

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

Form

string

No

The transformation format.

TEMPLATE

Template

string

No

The template style.

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

Body

object

No

The record content template for the BLOB type.

Value

string

No

The record content template for the BLOB type.

{ "key": "value" }

Form

string

No

The transformation format.

ORIGINAL

Template

string

No

The template style.

Template string (if any)

RoleName

object

No

The name of the task role.

Value

string

No

The name of the task role.

test-role

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Template

string

No

The template style.

Template string (if any)

ContentType

object

No

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

  • JSON

  • KeyValue

Value

string

No

The value before transformation.

JSON

Form

string

No

The transformation format.

CONSTANT

Template

string

No

The template style.

Template string (if any)

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.

Value

string

No

The value before transformation.

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

Form

string

No

The template style.

CONSTANT

Template

string

No

The template style.

Template string (if any)

SinkCustomizedKafkaParameters

object

No

The Kafka sink parameters.

InstanceId

string

No

The instance ID of the MSMQ for Apache Kafka.

90be1f96-4229-4535-bb76-34b4f6fb2b71

SinkCustomizedKafkaConnectorParameters

object

No

The Kafka sink 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

Parses the properties file in the current ZIP package.

Name

string

No

The connector name.

mongo-sink

Config

object

No

The connector configuration.

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

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" }

SinkDashVectorParameters

object

No

The DashVector sink parameters.

InstanceId

string

No

The instance ID.

vrs-cn-lbj3ru1***

Collection

string

No

The name of the collection.

collection1

ApiKey

string

No

The API key created in the DashVector console.

Q34nExQH7sQ****

Operation

string

No

The type of DashVector database operation. Valid values:

  • Delete

  • Upsert

Upsert

Network

string

No

The network type. Valid values:

  • PrivateNetwork

  • PublicNetwork

PublicNetwork

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

Value

string

No

If Form is set to JSONPATH, this field specifies the content extracted by JSONPath. If Form is set to TEMPLATE, this field specifies the template variable.

Note

The Value field cannot exceed 10,240 characters.

$.data.requestId

Template

string

No

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

${ID}

Partition

object

No

The partition. Default value: default.

Form

string

No

The transformation format. Valid values:

  • JSONPATH

  • CONSTANT

CONSTANT

Value

string

No

  • If Form is set to CONSTANT, this field specifies the constant value.

  • If Form is set to JSONPATH, this field specifies the content extracted by JSONPath.

Note

The Value field cannot exceed 10,240 characters.

default

Template

string

No

The template style.

${partition}

Vector

object

No

The vector to be inserted into the DashVector record.

Form

string

No

The transformation format.

JSONPATH

Value

string

No

The content extracted by JSONPath.

Note

The Value field cannot exceed 10,240 characters.

$.data.messageBody

Template

string

No

The template style.

${vector}

DashVectorSchemaParameters

array<object>

No

The schema field definitions for the table entry when inserting data into DashVector. The transformed event content must be in JSON format.

array<object>

No

Name

object

No

The name of the property.

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Value

string

No

The name of the property.

content

Template

string

No

The template style.

Template string (if any)

Type

object

No

The DashVector property type.

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Value

string

No

The DashVector property type.

STRING

Template

string

No

The template style.

Template string (if any)

Value

object

No

The value of the property.

Form

string

No

The transformation format. Default value: CONSTANT.

JSONPATH

Value

string

No

The value of the property.

$.data.content

Template

string

No

The template style.

${content}

SinkOpenSourceRabbitMQParameters

object

No

The parameters for the self-managed RabbitMQ sink.

Endpoint

string

No

The endpoint.

192.168.1.1:9876

VirtualHostName

string

No

The name of the RabbitMQ virtual host.

Vhost1

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

Exchange

string

No

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

my-exchange

QueueName

string

No

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

my-queue

Username

string

No

The username used to access the RabbitMQ instance.

admin

Password

string

No

The password used to access the RabbitMQ instance.

yourPassword

VpcId

string

No

The VPC ID.

vpc-uf6of9452b2pba82c ****

VSwitchIds

string

No

The vSwitch ID.

vsw-uf6of9452b2pba82c ****

SecurityGroupId

string

No

The security group ID.

sg-uf6of9452b2pba82c ****

NetworkType

string

No

The network type. Valid values:

  • PrivateNetwork

  • PublicNetwork

PublicNetwork

AuthType

string

No

The authentication type. Valid values:

  • ACL

  • None

ACL

RoutingKey

object

No

The message routing key.

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Value

string

No

The value of the routing key.

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

Template

string

No

The template style.

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

Body

object

No

The message body.

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Value

string

No

The raw data value.

{"key": "value"}

Template

string

No

The template style.

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

MessageId

object

No

The unique identifier of the message.

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Value

string

No

The value of the message ID.

12345

Template

string

No

The template style.

Template string (if any)

Properties

object

No

The additional properties of the message.

Form

string

No

The transformation format. Default value: CONSTANT.

CONSTANT

Value

string

No

The content of the property.

{"env": "prod"}

Template

string

No

The template style.

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

SinkBaiLianParameters SinkBaiLianParameters

No

The delivery parameters for Model Studio.

SinkDataWorksTriggerParameters SinkDataWorksTriggerParameters

No

The delivery parameters for the DataWorks trigger.

SinkHttpsParameters SinkHttpsParameters

No

The parameters for the HTTPS sink.

SinkApiDestinationParameters SinkApiDestinationParameters

No

The parameters for the API destination sink.

SinkOSSParameters SinkOSSParameters

No

The delivery parameters for Object Storage Service (OSS).

SinkRabbitMQMetaParameters SinkRabbitMQMetaParameters

No

The metadata delivery parameters for the MSMQ RabbitMQ message queue.

SinkRabbitMQMsgSyncParameters SinkRabbitMQMsgSyncParameters

No

The message synchronization delivery parameters for MSMQ RabbitMQ.

SinkMQTTParameters SinkMQTTParameters

No

The delivery parameters for MQTT.

SinkAgentRunParameters SinkAgentRunParameters

No

The delivery parameters for the agent runtime.

SinkKnowledgeBaseParameters SinkKnowledgeBaseParameters

No

The delivery parameters for the knowledge base.

SinkAgentCoreKnowledgeBaseParameters SinkAgentCoreKnowledgeBaseParameters

No

The parameters for the AgentCore knowledge base.

RunOptions

object

No

The runtime environment parameters.

MaximumTasks

integer

No

The maximum number of concurrent tasks.

2

ErrorsTolerance

string

No

The error tolerance policy. Valid values: NONE (no error tolerance) and ALL (tolerates all errors).

ALL

RetryStrategy

object

No

The retry strategy used when event delivery fails.

PushRetryStrategy

string

No

The retry strategy. Valid values: BACKOFF_RETRY (backoff retry) and EXPONENTIAL_DECAY_RETRY (exponential decay retry).

BACKOFF_RETRY

MaximumEventAgeInSeconds

integer

No

The maximum retry time.

512

MaximumRetryAttempts

integer

No

The maximum number of retry attempts.

2

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

VpcId

string

No

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

vpc-2zehizpoendb3****

VSwitchIds

string

No

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

vsw-m5ev8asdc6h12345****

SecurityGroupId

string

No

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

sg-2vcgdxz7o1n9zapp****

BatchWindow

object

No

The batching window.

CountBasedWindow

integer

No

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

100

TimeBasedWindow

integer

No

The maximum time window in seconds for batching events. When this threshold is reached, data in the window is pushed downstream. If multiple windows exist, the push is triggered when any window reaches its threshold.

10

BusinessOption

object

No

The business options.

BusinessMode

string

No

The business mode.

"BusinessMode"

MinCapacityUnitCount

integer

No

The minimum number of capacity units.

1

MaxCapacityUnitCount

integer

No

The maximum number of capacity units.

10

Throttling

integer

No

The throttling limit.

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.

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

DashScopeTransformParameters DashScopeTransformParameters

No

The DashScope model transform parameters.

BaiLianAgentTransformParameters BaiLianAgentTransformParameters

No

The Model Studio agent transform parameters.

AiClassifyTransformParameters AiClassifyTransformParameters

No

The AI text classification parameters.

AiExtractTransformParameters AiExtractTransformParameters

No

The AI information extraction parameters.

AiSummarizeTransformParameters AiSummarizeTransformParameters

No

The AI summarization parameters.

AiTranslateTransformParameters AiTranslateTransformParameters

No

The AI translation parameters.

AiFilterTransformParameters AiFilterTransformParameters

No

The AI conditional filtering parameters.

AiRedactTransformParameters AiRedactTransformParameters

No

The AI data masking parameters.

AiSentimentAnalysisTransformParameters AiSentimentAnalysisTransformParameters

No

The AI emotion analysis parameters.

AiPrepSearchTransformParameters AiPrepSearchTransformParameters

No

The AI semantic chunking parameters.

AiEmbedTransformParameters AiEmbedTransformParameters

No

The AI embedding parameters.

AiChunkTransformParameters AiChunkTransformParameters

No

The AI local text chunking parameters.

Response elements

Element

Type

Description

Example

object

The response information.

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

Code

string

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

Success

Success

boolean

Indicates whether the operation was successful.

true

Examples

Success response

JSON format

{
  "Message": "The name [xxxx] of event streaming in request is already exist!",
  "RequestId": "0FDD73AA-7A2D-5BD4-B4C0-88AFEBF5F0F5",
  "Code": "Success",
  "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.