Skip to content

Releases: beatlabs/patron

v0.63.0 [Broken Metrics]

20 Jan 09:07
7d46f2a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.62.1...v0.63.0

v0.62.1

07 Jan 13:45
b785f11
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.62.0...v0.62.1

v0.62.0

21 Dec 08:57
a750632
Compare
Choose a tag to compare

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

08 Dec 10:38
35c5d33
Compare
Choose a tag to compare

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

16 Nov 09:13
def4a46
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.61.2...v0.61.3

v0.61.2

29 Oct 12:03
e746e6b
Compare
Choose a tag to compare

What's Changed

Breaking change. The location of the DefaultConsumerSaramaConfig has moved to github.com/beatlabs/patron/component/kafka.

Full Changelog: v0.61.1...v0.61.2

v0.61.1

29 Oct 08:51
7b51009
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.61.0...v0.61.1

[Breaking Change] v0.61.0

26 Oct 11:20
0f4ea6a
Compare
Choose a tag to compare

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 configuration
  • client/kafka/v2: Builder.WithConfig is deleted
  • component/async/kafka/group: New requires a new parameter for Sarama configuration
  • component/async/kafka: DefaultSaramaConfig deleted, use client/kafka/v2.DefaultConsumerConfig or DefaultProducerConfig instead
  • component/async/kafka: New requires a new parameter for Sarama configuration
  • component/kafka/group: New requires a new parameter for Sarama configuration
  • component/kafka/group: SaramaConfig option func deleted
  • component/kafka: DefaultSaramaConfig deleted, use client/kafka/v2.DefaultConsumerConfig or DefaultProducerConfig instead

Full Changelog: v0.60.2...v0.61.0

[Breaking Change] v0.60.2

15 Oct 12:43
4523087
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.58.0...v0.60.2

v0.58.0 [Breaking Change]

07 Oct 08:34
93c7ecb
Compare
Choose a tag to compare

Breaking change

The Sarama upgrade requires minimum Go 1.16.

What's Changed

Full Changelog: v0.57.0...v0.58.0