Bertrand Renuart
Bertrand Renuart
The problem arises only when "inline mocking" is enabled (enabled as described in [Mocking Final Types](https://javadoc.io/static/org.mockito/mockito-core/4.1.0/org/mockito/Mockito.html#Mocking_Final).) Consider the following test case: ``` public static class MyService { public synchronized void...
In section "Why is it slow to register a Service?" of the documentation, it is said one can speed-up the client registration process by changing the heartbeat interval to a...
Netflix's `RequestSpecificRetryHandler` allows to retry on *same* server for `SERVER_THROTTLED` error. When the `okToRetryOnAllErrors` property is `true`, the retry handler allows to retry on the same server unconditionally without taking...
Since SLF4J 2.0.0, the SLF4J logging API assumes the possibility of multiple Marker instances in a logging event. Consequently, `ILoggingEvent#getMarker()` has been deprecated in favour of `ILoggingEvent#getMarkerList()` which now returns...
Starting from 1.3.0-alpha12, Logback events are now storing timestamp with nanosecond precision (using an Instant). The `AbstractTimestampJsonProvider` should be updated to take this enhancement into account. A couple of questions/remarks......
Logback 1.3 now assign a unique sequence number to every `ILoggingEvent`. This sequence number can be retrieved by calling `ILoggingEvent#getSequenceNumber()`. LLE should provide a JsonProvider to give access and render...
The `*NestedJsonProvider` providers allow to nest other providers within a sub-object whose name is given by the `fieldName` configuration property. Although the fieldName is mandatory, the provider doesn't check if...
Most JsonProviders omit writing their field(s) if their value is null (absent). This is however not the case for the NestedJsonProvider. Consider the following configuration: ``` nested ``` This configuration...
It may be handy to provide `#tryLong` and `#tryDouble` operations similar to `#tryJson`. These two new operations would return the input (string) value when the conversion fails instead of `null`.
Suppose a configuration that produces the following JSON: ``` { "array": ["a", {"foo":"bar"}] } ``` If you want to mask the second array entry you should configure a _MaskingJsonGeneratorDecorator_ with...