How to monitor Kafka (MSK) maintenance status?

0

We're taking metrics from Kafka as described in official guide

And we setup some alerts - for example, we have KafkaOfflinePartitions, KafkaUnderReplicatedPartitions and performance degradation

But during maintenance window AWS starts to update Kafka servers one-by-one. This triggers alerts described above

Is it possible to get status of maintenance window with some metrics, so I'll be able to mute this alerts during maintenance? Or what is best practice to deal with such situations

2 Respostas
1

You can see the status of your cluster in two ways:

  • Go to the AWS Management Console and check cluster status.
  • Use the "describe-cluster-v2" command or the "DescribeClusterV2" operation to describe the cluster.

If your cluster's status shows "MAINTENANCE", it means that AWS is currently doing regular maintenance work on the cluster.

For a full list and explanation of all the possible cluster status values, you can check the documentation at the following link: https://docs.aws.amazon.com/msk/latest/developerguide/msk-cluster-states.html

AWS
Harita
respondido há 25 dias
profile pictureAWS
ESPECIALISTA
iBehr
avaliado há 24 dias
1

Hello,

You may also monitor the ActiveControllerCount Cloudwatch metrics in MSK and it is observed at stats:avg

Ideally value for the ActiveControllerCount should be 1/count of brokers

For EG: Having 3 brokers in MSK ActiveControllerCount should be 1/3= 0.33

Thank you.

AWS
ENGENHEIRO DE SUPORTE
respondido há 25 dias
profile pictureAWS
ESPECIALISTA
iBehr
avaliado há 24 dias

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas