To allow you to name batch created CKafka instances according to a rule during creation, the features of automatically incrementing suffixed numbers and specifying pattern strings are provided.
Automatically incrementing suffixed numbers: if you purchase multiple CKafka instances, numbers will be suffixed to their names by default, such as ckafka1, ckafka2, ckafka3... For more information, please see Automatically incrementing suffixed numbers.
Specifying pattern string:
This feature allows you to name batch purchased instances with the same prefix and automatically incrementing suffixed numbers.
Note:
- The created instances are suffixed with numbers starting from 1 by default. You cannot specify the starting number.
- The following example assumes that you want to purchase 3 CKafka instances and name them in the format of "ckafka+serial number" (i.e., ckafka1, ckafka2, and ckafka3).
ckafka
as the instance name as shown below:This feature allows you to name batch purchased instances in a complex format with specified serial numbers. You can use one or more pattern strings in instance names as needed.
The instance name with a specified pattern string is in the format of {R:x}, where x
indicates the starting number in the generated instance names and can be positive integers only.
The following example assumes that you want to create 3 instances and name them with incrementing numbers starting from 3.
ckafka{R:3}
as the instance name as shown below:The following example assumes that you want to create 3 instances and name them with the prefixes of ckafka
, big
, and test
and serial numbers after ckafka
and big
incrementing from 13 and 2 respectively (i.e., ckafka13-big2-test, ckafka14-big3-test, and ckafka15-big4-test).
ckafka{R:13}-big{R:2}-test
as the instance name as shown below:After you batch create instances through automatically incrementing suffixed numbers or specifying pattern string, you can verify the set instance names as follows:
Log in to the CKafka console and view the newly created instances. You can see that the batch purchased instances are named according to the rule you set.
Was this page helpful?