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 Antworten
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
beantwortet vor 24 Tagen
profile pictureAWS
EXPERTE
iBehr
überprüft vor 22 Tagen
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
SUPPORT-TECHNIKER
beantwortet vor 23 Tagen
profile pictureAWS
EXPERTE
iBehr
überprüft vor 22 Tagen

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen