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 eventsflushAnalyticsOnClose
: 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 whenclose()
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 afterclose()
is invoked.
by @erdirowlands in #203
Full Changelog: 1.7.0...1.8.0