Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 12, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/twmb/franz-go/plugin/kotel v1.5.0 -> v1.6.0 age adoption passing confidence

Release Notes

twmb/franz-go (github.com/twmb/franz-go/plugin/kotel)

v1.6.0

Compare Source

===

This release contains two new APIs, a minor bugfix, and other notable
improvements and stabilizations.

The kadm package is now stabilized as a separate,
v1.0 module. This module will remain separate from the top level
franz-go so that it can have independent minor releases, and has more freedom
to have major version bumps if necessary. I took stabilization as an
opportunity to break & fix some infrequently used APIs; this can be seen in the
commit linked below.

I have also created a new package for the schema registry, sr. This
will likely live as a separate module for similar reasons to kmsg and kadm: to
have more freedom to make major-version-changing breaking changes if Confluent
decides to change some of their HTTP API. I expect to stabilize sr once I know
of at least one use case that helps double check the API is alright.

Bugfix

Previously, if you consumed a topic that had record timestamps generated by the
broker per LogAppendTime, this client would not set the timestamp properly
when consumed. We now set the timestamp properly.

Improvements

The client now allows the user to set a timestamp when producing: if a record's
timestamp is non-zero, the client will not override it.

The default partitioner has been changed to the new UniformBytesPartitioner.
This is an improvement on the previous StickyKeyPartitioner in a few ways and
can be read about in KIP-794. The implementation in this client is
slightly different from KIP-794 in ways that are documented on the
UniformBytesPartitioner itself. This new partitioner can result in more
balanced load over a long period of producing to your brokers. Note: the new
default partitioner partitions keys the same as the old default partitioner,
so this is not a behavior change.

Features

  • UniformBytesPartitioner exists, which can be used for more balanced
    producing over long time periods. The default batch size switch is 64KiB, and
    you may want to tune this up or down if you produce in high or low throughput.

  • kversion.V3_2_0() now officially exists, and kversion correctly detects
    v3.2 brokers.

  • kmsg has a new UnsafeReadFrom interface to help reduce garbage in some
    advanced scenarios (requires [email protected]).

Relevant commits

  • b279658 kadm: break APIs for 1.0
  • a23a076 bugfix source: properly set Timestamp for LogAppendTime records
  • 653010d improvement producer: allow the user to set Timestamp
  • d53c0fe feature kmsg: add new UnsafeReadFrom interface
  • 5536ec1 feature kversion: add V3_2_0
  • 0f65bb1 feature kgo: expose UniformBytesPartitioner
  • 82af4a1 and followup commits: add package sr, providing a client for the schema registry

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Apr 12, 2025
@renovate renovate bot requested a review from a team as a code owner April 12, 2025 13:26
@renovate renovate bot enabled auto-merge (squash) April 12, 2025 13:26
@renovate renovate bot force-pushed the deps-update/main-github.comtwmbfranz-gopluginkotel branch from 32e4f26 to 6162861 Compare April 12, 2025 17:17
@renovate renovate bot merged commit 9491fbb into main Apr 12, 2025
63 checks passed
@renovate renovate bot deleted the deps-update/main-github.comtwmbfranz-gopluginkotel branch April 12, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants