Skip to content

Releases: ricardo-ch/go-kafka

v3.1.0

23 Dec 08:50
5107ae6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.4...v3.1.0

Propagate the consumergroup context into the handler

17 Dec 16:20
88a3767
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.3...v3.0.4

Minor fix

16 Dec 14:06
83fee0c
Compare
Choose a tag to compare
  • Add a new method to get the listener group_id. #43

  • Fix an issue on infinite retry. #42

Error Log Improvement

23 Apr 13:37
ecf0569
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.1...v3.0.2

Security update from protobuf

16 Apr 15:17
7056d31
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.0.1

Go Kafka v3

16 Apr 12:22
235363c
Compare
Choose a tag to compare

Go-kafka V3 allows configuration at topic level, and relies on IBM saram (change of ownership).

What's Changed

  • The library now relies on the IBM/sarama library instead of Shopify/sarama, which is no longer maintained.
  • The kafka.Handler type has been changed to a struct containing both the function to execute and the handler's optional configuration.
  • The global variable PushConsumerErrorsToTopic has been replaced by the PushConsumerErrorsToRetryTopic and PushConsumerErrorsToDeadletterTopic properties on the handler.

These changes should be the only breaking changes in the v3 release. The rest of the library should be compatible with the previous version.

Full Changelog: v2.2.0...v3.0.0

Introduce blocking retries

04 Apr 14:54
152e5b9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.2...v2.2.0

Add kafka_consumergroup_current_message_timestamp

09 Oct 12:42
480957d
Compare
Choose a tag to compare

Corrected metric names

18 Aug 07:38
2f4b34e
Compare
Choose a tag to compare

2 errors in metric names were corrected:

  • kafka_consumer_records_consumed_total -> kafka_consumer_record_consumed_total
  • kafka_consumer_record_consumed_latency_seconds -> kafka_consumer_record_latency_seconds

Improved error handling

09 Jun 08:52
e9a1b9d
Compare
Choose a tag to compare
  • Removed all references to the deprecated pkg/errors library
  • Improved the error comparison logic now that our internal errors package allows for it
  • Fixed the errors stack trace, which was overridden before being logged
  • Build using go 1.20