Kafka Operations
Last updated
Last updated
It enables user to modify the capacity of the cluster by changing the count of instances that are already part of the cluster. User can also modify the instance type of the cluster. The scaling operation supports both vertical & horizontal scale up and scale down.
This operation can be run only when the cluster is in running state or when the previous operation is in success
status. User need to wait if any existing operation is already running on the same cluster and can check its status via odin provided Jenkins.
Scale operation cannot be stopped.
If the previous operation on the cluster was unsuccessful , then user would not be able to scale cluster.
Insert the desired instance count for the cluster in desired_instance_count
. Please note that you need to provide the number of instances that you require at the end state. E.g: If yo u have 5 instances and you want to add 5 more, the value of desired_instance_count
will be 10 as the same represents end state.
desired_instance_count
integer
The no. of instances
required by the user at the end state.
--options '{
"desired_instance_count": 12,
"instance_type":
"m5.4xlarge"}'
instance_type
text
The instance type to be provided here.
--options '{
"desired_instance_count": 12,
"instance_type":
"m5.4xlarge"}'
When scaling a cluster, if the user specifies a different instance type than the current one, all existing instances in the cluster will also be changed to the new instance type.
This operation helps the users to restart a cluster.
This operation can be run only when the cluster is in running
state or when an existing operation is success
. User need to wait if any existing operation is already running on the same cluster and can check its status via odin provided Jenkins.
nodes
list
The list of IPs that needs to be restarted to be provided in comma separated format . If no list is provided, all nodes will be restarted.
--options
'{ "nodes":
["10.10.10.1"]
}'
Replace node replaces the node that has concerns (such as hardware issues, disk corruption or any AWS event related to h/w issues) with the node of the same instance type.
This operation can be run only when the cluster is in running
state or when an existing operation is success
. User need to wait if any existing operation is already running on the same cluster and can check its status via odin provided Jenkins.
nodes
list
The list of IPs that needs to be replaced to be provided in comma separated format .
--options
'{ "nodes":
["10.10.10.1"]
}'
This operation enables users to pause a cluster. This can be used to optimise cost, especially in load environment during idle hours. Post pause operation, all the nodes of the specific cluster will be in 'stopped' state.
This operation can be run only when the cluster is in running
state or when an existing operation is success
. User need to wait if any existing operation is already running on the same cluster and can check its status via odin provided Jenkins.
This command does not take any input in the form of a option. A blank json to be passed for options here.
This operation enables users to resume the normal operation of an already paused cluster.
This operation can be run only when the cluster is in successful pause
state.
This command does not take any input in the form of a option. A blank json to be passed for options here.