Skip to content

Releases: broadlume/hanami-events-cloud_pubsub

v3.0.7

05 Feb 23:34
Compare
Choose a tag to compare

This is a tiny release which simply sets the process title when running bundle exec cloudpubsub 😄

The Big Three Oh 👀

25 Sep 20:52
d3fcbb2
Compare
Choose a tag to compare

Major Changes

  1. Auto retry behavior is no longer a custom implementation, and relies on Google Pubsub's built in mechanism.

The behavior is opt-in, you need to setup your config like so:

Hanami::Events::CloudPubsub.configure do |config|
  config.auto_retry.enabled = true
  config.auto_retry.dead_letter_topic_name = 'my-dead-letter-topic-name' # will be auto created
end
  1. Require Ruby >= 2.5 breaking!

v2.0.0

12 Mar 15:41
Compare
Choose a tag to compare

Previously, the policy of this gem was to always acknowledge messages if the failed. This is a pain, since it does not allow for retries on failure without manual intervention. 2.0.0 will set auto-retry as the default policy, which will retry until the retention period ends (range is from 10 minutes to 7 days)