qindongliang/streaming-offset-to-zk
41.0
Weak · 7 November 2026
228
lines of production code
Scala
primary language
4
measurements over time
What this system is
This system is a Kafka-based streaming application designed to process data streams with automatic offset management for partition scalability. It incorporates robust operational controls, including graceful shutdown mechanisms via HTTP endpoints and HDFS file triggers. The codebase also manages dependencies for Elasticsearch and Fastjson to support its data processing and storage requirements.
Features
Added graceful shutdown mechanisms and Kafka partition auto-discovery
The streaming application now supports two new graceful shutdown strategies: an HTTP endpoint on port 5555 that triggers a clean stop when accessed, and a background scanner that checks for a specific HDFS file to trigger termination. Additionally, the offset management logic has been updated to automatically detect and initialize offsets for newly added Kafka partitions when a streaming application restarts, ensuring continuity without manual intervention.
src/main · high confidence
Dependencies
Upgrade Elasticsearch and Fastjson dependencies
The project's dependency versions have been updated in pom.xml. The Elasticsearch client library has been upgraded from version 2.3.4 to 8.19.8, and the Fastjson library has been updated from version 1.2.15 to 1.2.83.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 41 → 41 (-0.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 76 → 76 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 43 → 43 (+0.0)
- Readiness 23 → 20 (-2.7)
- Security 80 → 100 (+20.0)
Resolved (157)
- Documentation: no contributor guidance (README.md)
- Documentation: no installation or build instructions (README.md)
- Documentation: no usage examples (README.md)
- Medium CVE: [GHSA redacted] (pom.xml)
- Outdated (compile): co.elastic.logging:ecs-logging-core
- Outdated (compile): co.elastic.logging:log4j2-ecs-layout
- Outdated (compile): com.101tec:zkclient
- Outdated (compile): com.alibaba:fastjson
- Outdated (compile): com.clearspring.analytics:stream
- Outdated (compile): com.esotericsoftware:kryo-shaded
- Outdated (compile): com.esotericsoftware:minlog
- Outdated (compile): com.fasterxml.jackson.core:jackson-annotations
- Outdated (compile): com.fasterxml.jackson.core:jackson-core
- Outdated (compile): com.fasterxml.jackson.core:jackson-databind
- Outdated (compile): com.fasterxml.jackson.module:jackson-module-paranamer
- Outdated (compile): com.fasterxml.jackson.module:jackson-module-scala_2.11
- Outdated (compile): com.google.code.findbugs:jsr305
- Outdated (compile): com.google.guava:guava
- Outdated (compile): com.google.inject:guice
- Outdated (compile): com.google.protobuf:protobuf-java
- …and 137 more
New (2)
- Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
- High CVE: [GHSA redacted] (pom.xml)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
qindongliang/streaming-offset-to-zk was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 7 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit d7d518c281b3cb88a4119118be81642afd7cb821 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-c34be012586e.