Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/6371#discussion_r203692344
--- Diff:
flink-core/src/main/java/org/apache/flink/configuration/AkkaOptions.java ---
@@ -42,22 +45,27 @@
public static final ConfigOption WATCH_HEARTBEAT_INTERVAL =
ConfigOptions
.key("akka.watch.heartbeat.interval")
.defaultValue(ASK_TIMEOUT.defaultValue())
- .withDescription("Heartbeat interval for Akkaâs DeathWatch
mechanism to detect dead TaskManagers. If" +
- " TaskManagers are wrongly marked dead because of lost
or delayed heartbeat messages, then you should" +
- " decrease this value or increase
akka.watch.heartbeat.pause. A thorough description of Akkaâs DeathWatch" +
- " can be found http://doc.akka.io/docs/akka/snapshot/scala/remoting.html#failure-detector\;>here.");
+ .withDescription(Description.builder()
+ .text("Heartbeat interval for Akkaâs DeathWatch
mechanism to detect dead TaskManagers. If" +
--- End diff --
we could think about adding another version of `withDescription` that works
like `text`, so that you could write this as
```
withDescription(
"Heartbeat interval for Akkaâs DeathWatch mechanism to detect dead
TaskManagers. If" +
..
" Akkaâs DeathWatch can be found %s",
link("http://doc.akka.io/docs/akka/snapshot/scala/remoting.html#failure-detector;,
"here"));
```
Just a thought.
---