Skip to content

Release v0.4.0

Compare
Choose a tag to compare
@wallyqs wallyqs released this 15 Mar 18:48
· 300 commits to main since this release

Added

  • Subscriptions now raise slow consumer exceptions when hitting limits that can be customized via :pending_msgs_limit and :pending_bytes_limit options that can be passed on subscribe.
    nats.subscribe("hi", pending_msgs_limit: 100, pending_bytes_limit: 1024) do |payload|
    # ...
    end

Fixed

  • Multiple async subscribers head of line blocking issue fixed (#27)

Changed

  • Subscribers with callbacks now each have their own thread for dispatching messages following similar behavior as with the Go client (#27)

Removed

None

Deprecated

None