All Products
Search
Document Center

Function Compute:SourceKafkaParameters

Last Updated:Sep 19, 2024
ParameterTypeDescriptionExample
object

The custom parameter configurations when the event source is ApsaraMQ for Kafka.

RegionIdstring

The region ID.

cn-hangzhou
InstanceIdstring

The instance ID.

r-8vb64581862c****
Topicstring

The topic name.

popvip_center_robot_order
ConsumerGroupstring

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

DEFAULT_GROUP
OffsetResetstring

The offset. Valid values:

  • earliest: consumes messages from the earliest offset.
  • latest: consumes messages from the latest offset.
latest
Networkstring

The network type. Default value: Default. The value PublicNetwork specifies a virtual private cloud (VPC) network.

Default
VpcIdstring

The VPC ID.

vpc-8vblalsi0vbhizr77****
VSwitchIdsstring

The vSwitch ID.

vsw-bp179l3llg3jjxwrq72****
SecurityGroupIdstring

The security group ID.

sg-bp1iv19sp1msc7zot4****