MINOR: Remove unnecessary < from Errant Record Reporter section (#18498)

Reviewers: Mickael Maison <mickael.maison@gmail.com>
This commit is contained in:
TengYao Chi 2025-01-13 19:13:10 +08:00 committed by GitHub
parent 0b60d08d23
commit cbbeccad63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ public List&lt;SourceRecord&gt; 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&lt;String, String&gt; props) { public void start(Map&lt;String, String&gt; props) {