mirror of https://github.com/apache/kafka.git
MINOR: Remove unnecessary < from Errant Record Reporter section (#18498)
Reviewers: Mickael Maison <mickael.maison@gmail.com>
This commit is contained in:
parent
0b60d08d23
commit
cbbeccad63
|
@ -766,7 +766,7 @@ public List<SourceRecord> poll() throws InterruptedException {
|
||||||
|
|
||||||
<p>When <a href="#connect_errorreporting">error reporting</a> is enabled for a connector, the connector can use an <code>ErrantRecordReporter</code> to report problems with individual records sent to a sink connector. The following example shows how a connector's <code>SinkTask</code> subclass might obtain and use the <code>ErrantRecordReporter</code>, safely handling a null reporter when the DLQ is not enabled or when the connector is installed in an older Connect runtime that doesn't have this reporter feature:</p>
|
<p>When <a href="#connect_errorreporting">error reporting</a> is enabled for a connector, the connector can use an <code>ErrantRecordReporter</code> to report problems with individual records sent to a sink connector. The following example shows how a connector's <code>SinkTask</code> subclass might obtain and use the <code>ErrantRecordReporter</code>, safely handling a null reporter when the DLQ is not enabled or when the connector is installed in an older Connect runtime that doesn't have this reporter feature:</p>
|
||||||
|
|
||||||
<<pre class="line-numbers"><code class="language-java">private ErrantRecordReporter reporter;
|
<pre class="line-numbers"><code class="language-java">private ErrantRecordReporter reporter;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void start(Map<String, String> props) {
|
public void start(Map<String, String> props) {
|
||||||
|
|
Loading…
Reference in New Issue