检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
For example, you can create IAM users for software developers and assign specific permissions to allow them to use Kafka instance resources but prevent them from being able to delete resources or perform any high-risk operations.
/v2/{project_id}/instances/{instance_id} dms:instance:delete √ √ Modifying instance information PUT /v2/{project_id}/instances/{instance_id} dms:instance:modify √ √ Batch restarting or deleting instances POST /v2/{project_id}/instances/action Restart: dms:instance:modifyStatus Delete
Automatically delete When the memory usage reaches the disk capacity threshold (95%), messages can be produced and consumed, but 10% of the earliest messages will be deleted to ensure sufficient disk space.
This function will permanently delete the consumer offset in the topic. Exercise caution. Procedure Log in to the Kafka console. Click in the upper left corner to select the region where your instance is located. Click the desired instance to go to the instance details page.
Example 1: Grant permission to delete and restart instances. { "Version": "1.1", "Statement": [ { "Effect": "Allow", "Action": [ "dms:instance:modifyStatus", "dms:instance:delete" ] } ]
If Capacity Threshold Policy is set to Automatically delete, the earliest 10% of messages will be deleted when 95% of the disk capacity is used, to ensure sufficient disk space. In this case, the messages that do not reach the aging time are also deleted and cannot be queried.
If no, contact the customer to delete unused consumer groups. Solution 2: Log in to the Kafka console and click the instance for which the alarm is generated. The instance details page is displayed.
DELETE: requests a server to delete specified resources, for example, objects. HEAD: same as GET except that the server must return only the response header. PATCH: requests a server to update a part of a specified resource.
You can call APIs to create, modify, and delete instances. All regions API Overview
Can I Delete a Kafka Instance Billed in Yearly/Monthly Mode? Which Cipher Suites Are Supported by Kafka? Can I Change Single-AZ Deployment to Multi-AZ Deployment for an Instance? Does DMS for Kafka Support Cross-AZ Disaster Recovery?
Delete unnecessary Kafka instances to avoid unexpected fees.
Stopping Billing To avoid unexpected bills, you can unsubscribe from or delete your cloud services if they are no longer needed. For details, see Stopping Billing. Cost Management You can manage your costs from 4 dimensions: composition, allocation, analysis, and optimization.
For example, if you purchase a pay-per-use Kafka instance at 8:45:30, and delete it at 8:55:00, the billing period is from 8:00:00 to 9:00:00. Fees are generated from 8:45:30 to 8:55:30, and the billing duration is 600 seconds.
user, "sasl.password": password, "ssl.ca.location": caFile, // If Security Protocol is set to SASL_PLAINTEXT, delete this parameter.
You cannot delete topics whose reassignment tasks have started. Otherwise, the tasks will never complete. After partition reassignment, the metadata of the topic changes.
None Example Requests DELETE https://{endpoint}/v2/{project_id}/kafka/instances/{instance_id}/management Example Responses None SDK Sample Code The SDK sample code is as follows.
In the upper right corner of the Manual dialog box, click Delete Replica or Add Replica to reduce or increase the number of replicas for each partition of the topic.
Commercial use Buying an Instance 2 Consumer group management You can now view the retrieval progress, reset the offset, and delete idle consumer groups on the console. Commercial use Deleting a Consumer Group Resetting the Consumer Offset January 2022 No.
Commercial use Buying an Instance 2 Consumer group management You can now view the retrieval progress, reset the offset, and delete idle consumer groups on the console. Commercial use Deleting a Consumer Group Resetting the Consumer Offset January 2022 No.
URI DELETE /v2/kafka/{project_id}/instances/{instance_id}/kafka-topic-quota Table 1 Path Parameters Parameter Mandatory Type Description instance_id Yes String Parameter description: Instance ID.