Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

0.156.0

Compare
Choose a tag to compare
@svc-autorelease svc-autorelease released this 01 Oct 11:41
· 3266 commits to develop since this release
f303c65
Type Description Link
Break AtlasDbHttpClients#createLiveReloadingProxyWithFailover now requires a tagged metrics registry; this is part of changes to better track remoting metrics. #4260
Break PaxosLeadershipEventRecorder now takes in a TaggedMetricRegistry instead of a MetricRegistry. The names of the metrics remain the same. #4263
Deprecation TransactionManagers#userAgent() is now deprecated. Users should specify a structuredUserAgent() as per Conjure service configuration standards. #4264
Break AtlasDbHttpClients now expects an AuxiliaryRemotingParameters struct which encapsulates information about whether to use payload limiting, the user agent, and any additional remoting client configuration (such as that that may be provided by the AtlasDB library). These were previously expected as primitives.
Whether the client should retry or not is also now embedded in this parameter object.

To replicate previous behaviour, users should create an AuxiliaryRemotingParameters struct, possibly as follows:

<br>AuxiliaryRemotingParameters.builder()<br> .userAgent(UserAgents.tryParse(userAgentString))<br> .shouldLimitPayload(false)<br> .remotingClientConfig(remotingClientConfigSupplier)<br> .shouldRetry(true)<br> .build();<br>

userAgent and remotingClientConfig are optional; shouldLimitPayload is compulsory.
#4264