[kafka-metrics] Update dependencies, align with OTel/DD best practices#176
Draft
[kafka-metrics] Update dependencies, align with OTel/DD best practices#176
Conversation
- Update OTel Collector from 0.93.0 to 0.115.0 - Update JMX Metrics Gatherer JAR from 1.27.0 to 1.42.0 - Update OTel Java agent from v2.2.0 to v2.11.0 - Update Kafka client dependencies from 2.3.0/3.5.1 to 3.7.1 - Update Log4j from 2.22.1 to 2.24.3 - Pin Confluent Kafka/ZooKeeper images to 7.7.1 (was :latest) - Switch base images from openjdk:17-buster to eclipse-temurin:17-jdk - Upgrade JMX gatherer base from java11-debian11 to java17-debian11 - Add memory_limiter processor to all collector pipelines - Add collection_interval to JMX receivers - Add resource limits to all docker-compose services - Add health checks for Kafka broker service - Use condition-based depends_on for reliable startup ordering - Add Kafka topic retention and auto-creation settings - Add DD_SITE env var with default to docker-compose files - Rename deprecated 'logging' exporter to 'debug' in JMX receiver config - Fix EXPOSE ports (remove deprecated 55680/55679, add 4318) - Remove deprecated docker-compose version field - Add producer retry/backoff and idempotent configuration - Add consumer resilience settings (auto-offset-reset, session timeout) - Fix consumer App.java missing braces in for loop - Use parameterized logging instead of string concatenation - Add .env.example with required environment variables - Add Makefile with build/run/clean targets - Add inline documentation comments throughout configs - Standardize log4j2.xml appender ordering across producer/consumer Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Motivation