changelogs.md


klarna/phobos

Repository  -  API  -  Source

2.0.2

January 28, 2021
  • Additional fixes for Ruby 3.0

2.0.1

January 14, 2021
  • Fix bug with Ruby 3.0 around OpenStruct

2.0.0-beta1

May 4, 2020
  • Remove deprecated patterns: -- before_consume method -- around_consume as a class method or without yielding values -- publish and async_publish with positional arguments

1.9.0

March 5, 2020
  • Bumped version to 1.9.0.

1.9.0-beta3

February 5, 2020
  • Fix bug where deprecation errors would be shown when receiving nil payloads even if around_consume was updated to yield them.

1.9.0-beta2

January 9, 2020
  • Allow around_consume to yield payload and metadata, and deprecate before_consume and around_consume that does not yield anything.

1.9.0-beta1

December 18, 2019
  • Update publish and async_publish to use keyword arguments instead of positional ones. Deprecate positional arguments in anticipation of removing them with 2.0.

1.8.3-beta2

November 15, 2019
  • Add support for message headers in both produced and consumed messages and batches.

1.8.3-beta1

November 11, 2019
  • Automatically heartbeat after every message if necessary in batch mode.

1.8.2

November 11, 2019
  • Version bump for official release.

1.8.2-beta2

June 21, 2019
  • Added the persistent_connections setting and the corresponding sync_producer_shutdown method to enable reusing the connection for regular (sync) producers.

1.8.2-beta1

March 13, 2019
  • Added BatchHandler to consume messages in batches on the business layer.

1.8.1

November 23, 2018

Added

  • Added ability to send partition keys separate from messsage keys.

1.8.0

July 22, 2018

Added

  • Possibility to configure a custom logger #81

    Changed

  • Reduce the volume of info-level log messages #78
  • Phobos Handler around_consume is now an instance method #82
  • Send consumer heartbeats between retry attempts #83

1.7.2

May 3, 2018

Added

  • Add ability to override session_timeout, heartbeat_interval, offset_retention_time, offset_commit_interval, and offset_commit_threshold per listener

    Changed

  • Phobos CLI: Load boot file before configuring (instead of after)

1.7.1

February 22, 2018

Fixed

  • Phobos overwrites ENV['RAILS_ENV'] with incorrect value #71
  • Possible NoMethodError #force_encoding #63
  • Phobos fails silently #66

    Added

  • Add offset_retention_time to consumer options #62

1.7.0

December 5, 2017

Fixed

  • Test are failing with ruby-kafka 0.5.0 #48
  • Allow Phobos to run in apps using ActiveSupport 3.x #57

    Added

  • Property (handler) added to listener instrumentation #60

    Removed

  • Property (time_elapsed) removed - use duration instead #24

    Changed

  • Max bytes per partition is now 1 MB by default #56

1.6.1

November 16, 2017

Fixed

  • Phobos::Test::Helper is broken #53

1.6.0

November 16, 2017

Added

  • Support for outputting logs as json #50
  • Make configuration, especially of listeners, more flexible. #31
  • Phobos Discord chat
  • Support for consuming each_message instead of each_batch via the delivery listener option. #21
  • Instantiate a single handler class instance and use that both for consume and before_consume. #47

Changed

  • Pin ruby-kafka version to < 0.5.0 #48
  • Update changelog to follow the Keep a Changelog structure

1.5.0

October 25, 2017

Added

  • Add before_consume callback to support single point of decoding a message klarna/phobos_db_checkpoint#34
  • Add Phobos::Test::Helper for testing, to test consumers with minimal setup required

Changed

  • Allow configuration of backoff per listener #35
  • Move container orchestration into docker-compose
  • Update docker images #38

Fixed

  • Make specs run locally #36

1.4.2

September 29, 2017

Fixed

  • Async publishing always delivers messages #33

1.4.1

August 22, 2017

Added

  • Update dev dependencies to fix warnings for the new unified Integer class

Fixed

  • Include the error Kafka::ProcessingError into the abort block

1.4.0

August 21, 2017

Added

  • Support for hash provided settings #30

1.3.0

June 15, 2017

Added

  • Support for ERB syntax in Phobos config file #26

1.2.1

October 12, 2016

Fixed

  • Ensure JSON layout for log files

1.2.0

October 10, 2016

Added

  • Log file can be disabled #20
  • Property (time_elapsed) available for notifications listener.process_message and listener.process_batch #24
  • Option to configure ruby-kafka logger #23

1.1.0

September 2, 2016

Added

  • Removed Hashie as a dependency #12
  • Allow configuring consumers min_bytes & max_wait_time #15
  • Allow configuring producers max_queue_size, delivery_threshold & delivery_interval #16
  • Allow configuring force_encoding for message payload #18

1.0.0

August 8, 2016

Added

  • Published on Github!