azure-functions-kafka-extension icon indicating copy to clipboard operation
azure-functions-kafka-extension copied to clipboard

Scale Metric errors

Open Gerthum opened this issue 1 year ago • 0 comments

Hi Team

We keep getting the below errors in our Functions that use Kafka Triggers:

2023-06-28T20:33:15Z [Verbose] Taking metrics samples for 1 monitor(s). 2023-06-28T20:33:15Z [Verbose] Scale metrics sample for monitor 'random_consumer_group_name.cg': {"TotalLag":0,"PartitionCount":1,"Timestamp":"2023-06-28T20:33:14.7205079Z"} 2023-06-28T20:33:16Z [Error] Libkafka: [thrd:sasl_ssl://servername.azure.confluent.cloud:9092/b]: sasl_ssl://servername.azure.confluent.cloud:9092/bootstrap: SASL authentication error: Authentication failed (after 5003ms in state AUTH_REQ, 6 identical error(s) suppressed) 2023-06-28T20:33:16Z [Error] sasl_ssl://servername.australiaeast.azure.confluent.cloud:9092/bootstrap: SASL authentication error: Authentication failed (after 5003ms in state AUTH_REQ, 6 identical error(s) suppressed) 2023-06-28T20:33:16Z [Error] 1/1 brokers are down 2023-06-28T20:33:17Z [Error] 1/1 brokers are down 2023-06-28T20:33:17Z [Verbose] Computing scale status (WorkerCount=1) 2023-06-28T20:33:17Z [Verbose] 2 scale monitors to sample 2023-06-28T20:33:17Z [Verbose] Monitor 'some_consumer_group_name.cg' voted 'None' 2023-06-28T20:33:17Z [Verbose] Monitor 'some_consumer_group_name.cg' voted 'None' 2023-06-28T20:33:17Z [Error] Failed to collect scale metrics sample for monitor 'some_consumer_group_name.cg'.

Our functions are working properly so its only to do with the Scale metrics.

I can't seem to find any documentation relating to the configuration.

Gerthum avatar Jun 28 '23 21:06 Gerthum