Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The idea is to re-use the existing ApiVersions Request to provide the name and the version of the client to the broker.

The client is responsible to provide its name and its version. For the Java client, the idea is to define two constants in the code to store its name and its version. If possible, the version will be set automatically based on metadata coming from gradle (or the repo itself) to avoid having to do manual changes.

In the broker, the name and the version of the client will be attached to the connection alongside already existing metadata such as the principal. This makes them reusable to later purposes (e.g. extending existing metrics).

Metrics will be added and the request log will be extended to make the metadata available to the operators.

...