stefanomantini/opensource/pollinate-timestamp-service
44.7
Weak · 10 November 2026
661
lines of production code
Go
with Java
9
measurements over time
What this system is
This system is a distributed application that manages timestamp records using a CQRS (Command Query Responsibility Segregation) architecture. It consists of a Go-based command service that accepts HTTP requests and publishes events to Kafka, a Java-based consumer service that processes these events to persist data in PostgreSQL, and a Java-based query service that exposes a REST API to retrieve stored records.
Features
Added HTTP API for timestamp command service
Introduced a new HTTP API for the timestamp command service, enabling clients to submit timestamp records via a POST request to /api/v1/timestamp/{timestamp}. The service validates the timestamp, publishes the record to Kafka, and returns a JSON response containing the record ID. The API includes middleware for correlation ID validation and CORS headers, and exposes a /health endpoint for health checks.
timestamp-command-service/api · high confidence
Added Timestamp model for command service
Introduced a new Timestamp struct in the command service's model package, defining the data structure for timestamp events with fields for event timestamp and command ID.
timestamp-command-service/model · high confidence
Added configuration for the timestamp command service
The timestamp-command-service now includes a Go-based configuration module that loads environment variables from .env files (defaulting to config/default.env). This allows the service to read settings such as the server port, log level, and Kafka broker/topic details, enabling the command-side of the CQRS architecture to connect to Kafka for publishing timestamp commands.
timestamp-command-service/config · high confidence
Added timestamp command service with Kafka publishing
A new Go service in the timestamp-command-service/service directory implements the command side of the CQRS pattern, providing a TimestampService that publishes timestamped events to a Kafka topic using the Sarama library. The implementation generates unique command IDs, marshals the timestamp data into JSON, and sends it as a message to Kafka, logging the partition and offset upon success.
timestamp-command-service/service · medium confidence
Added timestamp-consumer-service to process and store Kafka events
The timestamp-consumer-service has been introduced as a new Spring Boot application that listens to a Kafka topic (defaulting to 'timestamp.command') and persists received timestamp records into a PostgreSQL database. The service includes a listener that consumes messages, a service layer that handles idempotency checks before saving, and a JPA repository for database interactions.
timestamp-consumer-service · high confidence
Initial Java query service stub with Docker and Gradle build support
The timestamp-query-service now includes a Java/Spring Boot application structure with a Dockerfile for containerized builds, Gradle wrapper scripts, and a .gitignore. The service exposes a REST endpoint at /api/v1/timestamp/{id} to retrieve timestamp records by ID, using Spring Data JPA with a PostgreSQL database. The application runs on port 7082 and uses Spring Boot Actuator for monitoring.
timestamp-query-service · high confidence
Initial release of the timestamp-command-service
The timestamp-command-service is introduced as a Go-based command handler following the CQRS model. This change adds the service's entry point (main.go) which initializes configuration and starts an HTTP server, along with a Dockerfile for containerization, a .gitignore for build artifacts, and a gocover.sh script for running Go tests and coverage.
timestamp-command-service · high confidence
Test coverage
Added integration tests and Postman collection for end-to-end verification
The integration package now includes Go-based integration tests that verify the health of the Command, Consumer, and Query services, as well as end-to-end scenarios for creating and retrieving timestamp records. A Postman collection has also been added to support manual testing of the same endpoints.
integration · high confidence
Dependencies
Added build manifests for Go and Java services
Added Go module files (go.mod, go.sum) for the integration and timestamp-command-service, and Gradle build files (build.gradle, settings.gradle) for the timestamp-consumer-service and timestamp-query-service. This establishes the dependency management and build configuration for these services.
(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 44 → 45 (+1.2)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 64 → 64 (+0.0)
- Architecture 82 → 82 (-0.2)
- Maturity 53 → 58 (+4.6)
- Readiness 24 → 24 (+0.2)
- Security 71 → 70 (-1.0)
Findings
- No change — the same findings as the prior survey.
Architecture
- Containers 0 added · 0 removed · contexts 2 added · 2 removed · edges 0 added · 0 removed
Added bounded contexts (2)
- timestamp-consumer-service
- timestamp-query-service
Removed bounded contexts (2)
- timestamp-consumer-service
- timestamp-query-service
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
stefanomantini/opensource/pollinate-timestamp-service 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 10 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 ca161d6c1134c77291b9748f3aedf71fa91ae69a — 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.4+preprod-464a0040a931.