Skip to content

Commit

Permalink
Merge pull request #63 from kafkesc/detro/52-intro_changelog
Browse files Browse the repository at this point in the history
Add `CHANGELOG.md` + badges to `README.md`
  • Loading branch information
detro authored Sep 24, 2023
2 parents 1df216f + 06e7d4a commit 7c342bb
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 1 deletion.
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# vNEXT (2023-??-??)

## Notes

* Introduced (this) [`CHANGELOG.md`](./CHANGELOG.md) and accompanying [`CHANGELOG_GUIDANCE.md`](./CHANGELOG_GUIDANCE.md) (#52)
* Added build badges to [`README.md`](./README.md) (#62)

# v0.2.0 (2023-09-24)

## Enhancements

* Refined logging to avoid polluting logs with temporary startup-time issues (i.e. not enough offset or lag info yet to produce estimations)
* `partition_offsets` module: Increased frequency of fetch of offset watermark
* New CLI argument `--history-ready-at`

## Breaking changes

* Separated the arguments to define `--host` and `--port` to listen on

## Notes

* Multiple dependencies upgrade

# v0.1.x (2023-08)

## Features

* First fully working release
* Production of multiple lag metrics:
* Consumer Metrics
* `kmtd_kafka_consumer_partition_lag_milliseconds`
* `kmtd_kafka_consumer_partition_lag_offset`
* `kmtd_kafka_consumer_partition_offset`
* Topic Partition Metrics
* `kmtd_kafka_partition_earliest_available_offset`
* `kmtd_kafka_partition_latest_available_offset`
* Topic Partition Offset Tracking Metrics
* `kmtd_kafka_partition_earliest_tracked_offset`
* `kmtd_kafka_partition_latest_tracked_offset`

## Enhancements

* Documented all exported metrics in [`METRICS.md`](./METRICS.md)
* Setup CI automation and automatic publishing when commit `vX.Y.Z` is pushed
43 changes: 43 additions & 0 deletions CHANGELOG_GUIDANCE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# `CHANGELOG.md` Guidance

At this stage, we manage the changelog manually. Nothing fancy.

Each entry has to match a release, and follow this format:

```markdown
# vMAJOR.MINOR.PATCH (20??-??-??)

## Breaking Changes

## Features

## Enhancements

## Bug Fixes

## Notes
```

The `# H1` should be `version (ISO DATE)`.

The `## H2` are instead categories of what we want to report about this version.
**IMPORTANT:** Before cutting the release, remove any section that is empty for the given release: no point
in publishing empty sections.

## Categorization

Information in each entry should be structured as follows:

`## Breaking Changes`: This section documents in brief any incompatible changes and how to handle them.
**This should only be present in major (or, in some cases, minor) version upgrades**.

`## Features`: These are new improvements and features that deserve to be highlighted.
**This should be marked by a minor version upgrade**.

`## Enhancements`: Smaller features added to the project.

`## Bug Fixes`: Any bugs that were fixed.

`## Notes`: Additional information for potentially unexpected upgrade behavior, notice of upcoming deprecations,
or anything worth highlighting to the user that does not fit in the other categories.
**This should not be abused**: always consider if the information is of any material importance to the user.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

Measure Kafka Consumer **Offset Lag** _and_ **Time Lag**

[![CI](https://img.shields.io/github/actions/workflow/status/kafkesc/kommitted/ci.yml?branch=main&label=CI%20%28main%29&logo=Github&style=flat-square)](https://github.com/kafkesc/kommitted/actions/workflows/ci.yml)
[![Apache 2.0](https://img.shields.io/crates/l/kommitted?logo=apache&style=flat-square)](https://github.com/search?q=repo%3Akafkesc%2Fkommitted+path%3ALICENSE&type=code)
[![Crates.io downloads](https://img.shields.io/crates/d/kommitted?logo=rust&style=flat-square)](https://crates.io/crates/kommitted)
[![](https://img.shields.io/crates/v/kommitted?label=latest%20version&logo=rust&style=flat-square)](https://crates.io/crates/kommitted/versions)

</div>

**Kommitted** is a service to measure the _Lag_ (i.e. _Latency_) of Kafka consumers.
Expand Down Expand Up @@ -193,7 +198,7 @@ $ kommitted \
### Log verbosity
Ksunami follows the long tradition of `-v/-q` to control the verbosity of it's logging:
Kommitted follows the long tradition of `-v/-q` to control the verbosity of it's logging:
| Arguments | Log verbosity level | Default |
|----------:|:--------------------|:-------:|
Expand Down

0 comments on commit 7c342bb

Please sign in to comment.