Skip to content

1.8.0

Latest
Compare
Choose a tag to compare
@erdirowlands erdirowlands released this 04 Oct 14:24
866809f

What's Changed

Enhancements:

  • FFM-12087 New HarnessConfig options:
    • maxRequestRetry: Defines the maximum number of retry attempts for the following request: authentication, polling, metrics, and reacting to stream events
    • flushAnalyticsOnClose: Indicates whether to flush analytics data when the SDK is closed.
    • flushAnalyticsOnCloseTimeout: The timeout for flushing analytics on SDK close.

For full details see associated Java docs

For sample usage see ConfigExample

Bug Fixes:

  • FFM-12087:
    • Fixed an issue where initial connection attempts to the stream, as well as reconnection attempts after disconnection, were limited to 5 tries. Now, reconnection attempts have no limit and use exponential backoff, with a 60-second cap on retry intervals reached after several attempts.
    • Fixed a memory leak caused when the SDK was closed but the stream’s ScheduledExecutorService remained active. All SDK resources are now properly shut down when close() is called.
    • Fixed an issue where, after calling close() and shutting down the stream, the SDK would still make a poll request, resulting in error logs due to evicted network resources. Now, no polling requests are made after close() is invoked.

by @erdirowlands in #203

Full Changelog: 1.7.0...1.8.0