ISSUE-20: Implement review remarks

This commit is contained in:
Emanuel Zienecker 2021-04-14 08:38:52 +02:00
parent b070f4bff6
commit 0288146c64
3 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ Now if you call the actuator endpoint `actuator/health` you should see the follo
|kafka.health.sendReceiveTimeout |2.5s | The maximum time, given as https://docs.spring.io/spring-boot/docs/2.1.9.RELEASE/reference/html/boot-features-external-config.html#boot-features-external-config-conversion-duration[Duration], to wait for sending and receiving the message.
|kafka.health.pollTimeout |200ms | The time, given as https://docs.spring.io/spring-boot/docs/2.1.9.RELEASE/reference/html/boot-features-external-config.html#boot-features-external-config-conversion-duration[Duration], spent fetching the data from the topic
|kafka.health.subscriptionTimeout |5s | The maximum time, given as https://docs.spring.io/spring-boot/docs/2.1.9.RELEASE/reference/html/boot-features-external-config.html#boot-features-external-config-conversion-duration[Duration], to wait for subscribing to topic
|kafka.health.cache.maximum-size |200 | Specifies the maximum number of entries the cache may contain.
|kafka.health.cache.maximumSize |200 | Specifies the maximum number of entries the cache may contain.
|===

View File

@ -9,7 +9,7 @@
(https://github.com/deviceinsight/kafka-health-check/issues/17[ISSUE-17])
* As of now, cache metrics can be exposed. For this purpose, a corresponding MeterRegistry instance must be passed
when instantiating the Kafka Health Check. (https://github.com/deviceinsight/kafka-health-check/issues/20[ISSUE-20])
* The cache size can now be configure via the property `kafka.health.cache.maximum-size`.
* The cache size can now be configured via the property `kafka.health.cache.maximum-size`.
The default value for the cache size is 200. (https://github.com/deviceinsight/kafka-health-check/issues/22[ISSUE-22])
== Version 1.2.0

View File

@ -14,6 +14,6 @@ public class KafkaHealthCheckCacheProperties {
@Override
public String toString() {
return "CacheProperties{" + "maximumSize=" + maximumSize + '}';
return "CacheProperties{maximumSize=" + maximumSize + '}';
}
}