Kafka Exporter 1.12.0 improves offset collection efficiency, fixes consumer group discovery and deleted-topic handling, and updates the Go toolchain and networking dependencies.
Improvements
- Batch offset queries by leader broker instead of sending a separate request for every partition. Refresh metadata and retry failed partitions when leaders move or partition metadata changes. (#552)
- Log the consumer-group broker list at debug level instead of info level to reduce routine scrape log noise. (#548)
Fixes
- Open brokers before listing their consumer groups, including brokers that do not lead any of the collected topic partitions. This prevents consumer groups coordinated by previously unused brokers from being omitted. (#556)
- Stop walking a deleted topic's remaining partitions in consumer-group lag collection, avoiding repeated metadata retries and omitting its aggregate offset and lag metrics. (#546)
- Reject a Kafka TLS CA file that contains no PEM certificates, and report the corresponding invalid web-server CA configuration. (#550)
- Preserve additional
=characters in--kafka.labelsvalues. (#551)
Security and dependencies
- Require Go 1.27.4 or newer for source builds and configure the build and release workflows to use Go 1.27.4. (#557, #555)
- Upgrade
golang.org/x/netto v0.62.0, with the required updates togolang.org/x/crypto,golang.org/x/sys,golang.org/x/text, andgolang.org/x/sync. (#557, #554)
Documentation
- Fix broken README links and typos. (#547)
Upgrade notes
- Source builds require Go 1.27.4 or newer. Older toolchains with automatic toolchain selection disabled will reject the module.
- Check configured Kafka CA files before upgrading: a file without PEM certificates now causes exporter initialization to fail rather than silently accepting an empty certificate pool.
- The broker list is now available at debug verbosity rather than in routine info logs.
New Contributors
- @sarankumar1325 made their first contribution in #547
- @johnpinto-clarity made their first contribution in #556
Full Changelog: v1.11.0...v1.12.0