List<String> names = Arrays.asList("first", "second", "third", "fourth",
"fifth");
FailoverChainSink snk = new FailoverChainSink(new ReportTestingContext(),
"{ lazyOpen => { intervalFlakeyAppend(2) => accumulator(\"%s\")}}",
names, new AlwaysRetryPolicy());
// failover sink replaces each names
LOG.info(snk.getMetrics().toText());