[4.7.0] - 2019-08-02
Added:
- In
RedisFeatureStoreBuilder
, the new methodsdatabase
,password
, andtls
allow you to specify the database number, an optional password, and whether to make a secure connection to Redis. This is an alternative to specifying them as part of the Redis URI, e.g.rediss://:PASSWORD@host:port/NUMBER
, which is also supported (previously, the database and password were supported in the URI, but the securerediss:
scheme was not). LDConfig.Builder.sslSocketFactory
allows you to specify a custom socket factory and truststore for all HTTPS connections made by the SDK. This is for unusual cases where your Java environment does not have the proper root CA certificates to validate LaunchDarkly's certificate, or you are connecting through a secure proxy that has a self-signed certificate, and you do not want to modify Java's global truststore.
Deprecated:
LDConfig.Builder.samplingInterval
is now deprecated. The intended use case for thesamplingInterval
feature was to reduce analytics event network usage in high-traffic applications. This feature is being deprecated in favor of summary counters, which are meant to track all events.