The script that determines and sends Slack messages about our current consumer lags.
npm install kafka-lag-scriptclientId (string): The client ID for the Kafka connection.
brokers (string[]): An array of Kafka broker URLs.
sasl (optional, SASLConfig): The SASL configuration for authentication, if required.
ssl (optional, boolean, default: true): Whether to use SSL for the Kafka connection.
connectionTimeout (optional, number, default: 100000): The connection timeout in milliseconds.
webHookUrl (string): The Slack webhook URL for sending notifications.
tokenConfig (optional, object): Additional token configuration for the Slack API, if required.
name_space (string[] ): An array of namespace strings to filter the consumer groups. If provided, only consumer groups with the specified namespaces will be monitored.