Skip to content

Release 0.17

Latest
Compare
Choose a tag to compare
@andsel andsel released this 02 Aug 10:18

Features

  • Introduced new fluent configuration API to avoid direct usage of constants to configure broker's properties (#761).
  • Introduced new persistent_client_expiration settings to limit the time of persistent sessions life (#739).
  • Added new method disconnectClient to Server's API to programmatively disconnect a client (#744).
  • Updated the InterceptHandler SPI interface with the addition of new onSessionLoopError callback method to receive the error notifications that happens in session event loops (#736).
  • Added new moquette.session_loop.debug JVM property to enable the checking of sessions event loops to proper sessions (#714).
  • New persistent queue implementation that use segments in memory mapped files. Can be selected by the new persistent_queue_type setting. The values can be h2 for old implementation based on H2 stoge or segmented for the new implementation (disabled by default) (#691, #704).
  • Introduced the ability to specify the flush interval for IO write operations, changing the default, to an immediate flush. New settings buffer_flush_millis can specify the interval in milliseconds, 0 for immediated flush or -1 to let the networking doing flush on write buffer full (#738).

Deprecations

  • immediate_buffer_flush replaced by buffer_flush_millis (#738).
  • persistent_store was separated into enablement of persistence with persistence_enabled and the path data_path (#706).

Fixes

  • Resolved bad perfomance issue (#633) when adding many subscriptions to few topics (#758).
  • Resolved performance issue(#629) on subscription trees wide and flat (#630).

Dependencies

  • Updated Netty to 4.1.93 and tcnative to 2.0.61 (#755).