Releases: beatlabs/patron
v0.63.0 [Broken Metrics]
What's Changed
- Bump github.com/rs/zerolog from 1.26.0 to 1.26.1 by @dependabot in #449
- Prometheus Exemplars Support by @EvgeniaMartynova-thebeat in #448
New Contributors
- @EvgeniaMartynova-thebeat made their first contribution in #448
Full Changelog: v0.62.1...v0.63.0
v0.62.1
v0.62.0
What's Changed
- Bump github.com/uber/jaeger-client-go from 2.29.1+incompatible to 2.30.0+incompatible by @dependabot in #445
- Bump google.golang.org/grpc from 1.42.0 to 1.43.0 by @dependabot in #447
- Issue #443 - Startup fail for missing topic or brokers not reachable by @rbroggi in #446
Full Changelog: v0.61.4...v0.62.0
v0.61.4
What's Changed
- Bump github.com/aws/aws-sdk-go from 1.41.3 to 1.42.9 by @dependabot in #440
- Bump github.com/ory/dockertest/v3 from 3.8.0 to 3.8.1 by @dependabot in #441
- Bump github.com/Shopify/sarama from 1.30.0 to 1.30.1 by @dependabot in #442
Full Changelog: v0.61.3...v0.61.4
v0.61.3
What's Changed
- Bump github.com/rs/zerolog from 1.25.0 to 1.26.0 by @dependabot in #435
- Bump google.golang.org/grpc from 1.41.0 to 1.42.0 by @dependabot in #439
- Fix status code tracing, where status code could be -1 by @wimspaargaren in #438
Full Changelog: v0.61.2...v0.61.3
v0.61.2
v0.61.1
[Breaking Change] v0.61.0
What's Changed
- Disable Jaeger logging integration by @gmaz42 in #425
- Require Sarama configuration for all producers/consumers [breaking] by @gmaz42 in #409
- Set status code in dynamicCompressionResponseWriter early exit by @tpaschalis in #429
- Feature: new HTTP server metrics with full status code by @gmaz42 in #411
Breaking change
This release introduces multiple breaking changes related to specifying a Sarama configuration for all consumer/producer use cases.
As an user of Patron you will now have to make a choice about which consumer or producer configuration to use; you can use the utility functions client/kafka/v2
.DefaultConsumerConfig
or DefaultProducerConfig
, or create and provide your own using sarama.NewConfig
.
For more information about eventual consistency and transactions behavior in Kafka, please see https://www.confluent.io/blog/transactions-apache-kafka/
This new behavior in Patron coincidentally now matches what the official Java Kafka client does, see: https://blogs.apache.org/kafka/entry/what-s-new-in-apache6
Follows a comprehensive list of the introduced breaking changes:
client/kafka/v2
:New
now requires Sarama configurationclient/kafka/v2
:Builder.WithConfig
is deletedcomponent/async/kafka/group
:New
requires a new parameter for Sarama configurationcomponent/async/kafka
: DefaultSaramaConfig deleted, useclient/kafka/v2
.DefaultConsumerConfig
orDefaultProducerConfig
insteadcomponent/async/kafka
:New
requires a new parameter for Sarama configurationcomponent/kafka/group
:New
requires a new parameter for Sarama configurationcomponent/kafka/group
: SaramaConfig option func deletedcomponent/kafka
:DefaultSaramaConfig
deleted, useclient/kafka/v2
.DefaultConsumerConfig
orDefaultProducerConfig
instead
Full Changelog: v0.60.2...v0.61.0
[Breaking Change] v0.60.2
What's Changed
- Bump github.com/ory/dockertest/v3 from 3.7.0 to 3.8.0 by @dependabot in #422
- Bump google.golang.org/grpc from 1.27.1 to 1.41.0 by @dependabot in #424
- Remove HTTP client context by @mantzas in #426
- Upgrade dependencies by @mantzas in #427
Full Changelog: v0.58.0...v0.60.2
v0.58.0 [Breaking Change]
Breaking change
The Sarama upgrade requires minimum Go 1.16.
What's Changed
Full Changelog: v0.57.0...v0.58.0