| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>TestInputTopic (kafka 3.5.0 API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.kafka.streams, class: TestInputTopic"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.kafka.streams</a></div> |
| <h1 title="Class TestInputTopic" class="title">Class TestInputTopic<K,<wbr>V></h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance">org.apache.kafka.streams.TestInputTopic<K,<wbr>V></div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>Type Parameters:</dt> |
| <dd><code>K</code> - the type of the record key</dd> |
| <dd><code>V</code> - the type of the record value</dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">TestInputTopic<K,<wbr>V></span> |
| <span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div> |
| <div class="block"><code>TestInputTopic</code> is used to pipe records to topic in <a href="TopologyTestDriver.html" title="class in org.apache.kafka.streams"><code>TopologyTestDriver</code></a>. |
| To use <code>TestInputTopic</code> create a new instance via |
| <a href="TopologyTestDriver.html#createInputTopic(java.lang.String,org.apache.kafka.common.serialization.Serializer,org.apache.kafka.common.serialization.Serializer)"><code>TopologyTestDriver.createInputTopic(String, Serializer, Serializer)</code></a>. |
| In actual test code, you can pipe new record values, keys and values or list of <a href="KeyValue.html" title="class in org.apache.kafka.streams"><code>KeyValue</code></a> pairs. |
| If you have multiple source topics, you need to create a <code>TestInputTopic</code> for each. |
| |
| <h2>Processing messages</h2> |
| <pre><code> |
| private TestInputTopic<Long, String> inputTopic; |
| ... |
| inputTopic = testDriver.createInputTopic(INPUT_TOPIC, longSerializer, stringSerializer); |
| ... |
| inputTopic.pipeInput("Hello"); |
| </code></pre></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="TopologyTestDriver.html" title="class in org.apache.kafka.streams"><code>TopologyTestDriver</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#advanceTime(java.time.Duration)" class="member-name-link">advanceTime</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html" title="class or interface in java.time" class="external-link">Duration</a> advance)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Advances the internally tracked event time of this input topic.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pipeInput(K,V)" class="member-name-link">pipeInput</a><wbr>(<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a> key, |
| <a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Send an input record with the given key and value on the topic and then commit the records.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pipeInput(K,V,long)" class="member-name-link">pipeInput</a><wbr>(<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a> key, |
| <a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value, |
| long timestampMs)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Send an input record with the given key, value and timestamp on the topic and then commit the records.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pipeInput(K,V,java.time.Instant)" class="member-name-link">pipeInput</a><wbr>(<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a> key, |
| <a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Instant.html" title="class or interface in java.time" class="external-link">Instant</a> timestamp)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Send an input record with the given key, value and timestamp on the topic and then commit the records.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pipeInput(org.apache.kafka.streams.test.TestRecord)" class="member-name-link">pipeInput</a><wbr>(<a href="test/TestRecord.html" title="class in org.apache.kafka.streams.test">TestRecord</a><<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a>,<wbr><a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>> record)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Send an input record with the given record on the topic and then commit the records.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pipeInput(V)" class="member-name-link">pipeInput</a><wbr>(<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Send an input record with the given value on the topic and then commit the records.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pipeInput(V,java.time.Instant)" class="member-name-link">pipeInput</a><wbr>(<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Instant.html" title="class or interface in java.time" class="external-link">Instant</a> timestamp)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Send an input record with the given value and timestamp on the topic and then commit the records.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pipeKeyValueList(java.util.List)" class="member-name-link">pipeKeyValueList</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="KeyValue.html" title="class in org.apache.kafka.streams">KeyValue</a><<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a>,<wbr><a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>>> keyValues)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Send input records with the given KeyValue list on the topic then commit each record individually.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pipeKeyValueList(java.util.List,java.time.Instant,java.time.Duration)" class="member-name-link">pipeKeyValueList</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="KeyValue.html" title="class in org.apache.kafka.streams">KeyValue</a><<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a>,<wbr><a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>>> keyValues, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Instant.html" title="class or interface in java.time" class="external-link">Instant</a> startTimestamp, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html" title="class or interface in java.time" class="external-link">Duration</a> advance)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Send input records with the given <a href="KeyValue.html" title="class in org.apache.kafka.streams"><code>KeyValue</code></a> list on the topic then commit each record individually.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pipeRecordList(java.util.List)" class="member-name-link">pipeRecordList</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="test/TestRecord.html" title="class in org.apache.kafka.streams.test">TestRecord</a><<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a>,<wbr><a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>>> records)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Send input records with the given KeyValue list on the topic then commit each record individually.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pipeValueList(java.util.List)" class="member-name-link">pipeValueList</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>> values)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Send input records with the given value list on the topic then commit each record individually.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#pipeValueList(java.util.List,java.time.Instant,java.time.Duration)" class="member-name-link">pipeValueList</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>> values, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Instant.html" title="class or interface in java.time" class="external-link">Instant</a> startTimestamp, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html" title="class or interface in java.time" class="external-link">Duration</a> advance)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Send input records with the given value list on the topic then commit each record individually.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toString()" class="member-name-link">toString</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="advanceTime(java.time.Duration)"> |
| <h3>advanceTime</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">advanceTime</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html" title="class or interface in java.time" class="external-link">Duration</a> advance)</span></div> |
| <div class="block">Advances the internally tracked event time of this input topic. |
| Each time a record without explicitly defined timestamp is piped, |
| the current topic event time is used as record timestamp. |
| <p> |
| Note: advancing the event time on the input topic, does not advance the tracked stream time in |
| <a href="TopologyTestDriver.html" title="class in org.apache.kafka.streams"><code>TopologyTestDriver</code></a> as long as no new input records are piped. |
| Furthermore, it does not advance the wall-clock time of <a href="TopologyTestDriver.html" title="class in org.apache.kafka.streams"><code>TopologyTestDriver</code></a>.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>advance</code> - the duration of time to advance</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pipeInput(org.apache.kafka.streams.test.TestRecord)"> |
| <h3>pipeInput</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">pipeInput</span><wbr><span class="parameters">(<a href="test/TestRecord.html" title="class in org.apache.kafka.streams.test">TestRecord</a><<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a>,<wbr><a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>> record)</span></div> |
| <div class="block">Send an input record with the given record on the topic and then commit the records. |
| May auto advance topic time.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>record</code> - the record to sent</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pipeInput(V)"> |
| <h3 id="pipeInput(java.lang.Object)">pipeInput</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">pipeInput</span><wbr><span class="parameters">(<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value)</span></div> |
| <div class="block">Send an input record with the given value on the topic and then commit the records. |
| May auto advance topic time.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>value</code> - the record value</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pipeInput(K,V)"> |
| <h3 id="pipeInput(java.lang.Object,java.lang.Object)">pipeInput</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">pipeInput</span><wbr><span class="parameters">(<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a> key, |
| <a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value)</span></div> |
| <div class="block">Send an input record with the given key and value on the topic and then commit the records. |
| May auto advance topic time</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>key</code> - the record key</dd> |
| <dd><code>value</code> - the record value</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pipeInput(V,java.time.Instant)"> |
| <h3 id="pipeInput(java.lang.Object,java.time.Instant)">pipeInput</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">pipeInput</span><wbr><span class="parameters">(<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Instant.html" title="class or interface in java.time" class="external-link">Instant</a> timestamp)</span></div> |
| <div class="block">Send an input record with the given value and timestamp on the topic and then commit the records. |
| Does not auto advance internally tracked time.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>value</code> - the record value</dd> |
| <dd><code>timestamp</code> - the record timestamp</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pipeInput(K,V,long)"> |
| <h3 id="pipeInput(java.lang.Object,java.lang.Object,long)">pipeInput</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">pipeInput</span><wbr><span class="parameters">(<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a> key, |
| <a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value, |
| long timestampMs)</span></div> |
| <div class="block">Send an input record with the given key, value and timestamp on the topic and then commit the records. |
| Does not auto advance internally tracked time.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>key</code> - the record key</dd> |
| <dd><code>value</code> - the record value</dd> |
| <dd><code>timestampMs</code> - the record timestamp</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pipeInput(K,V,java.time.Instant)"> |
| <h3 id="pipeInput(java.lang.Object,java.lang.Object,java.time.Instant)">pipeInput</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">pipeInput</span><wbr><span class="parameters">(<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a> key, |
| <a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Instant.html" title="class or interface in java.time" class="external-link">Instant</a> timestamp)</span></div> |
| <div class="block">Send an input record with the given key, value and timestamp on the topic and then commit the records. |
| Does not auto advance internally tracked time.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>key</code> - the record key</dd> |
| <dd><code>value</code> - the record value</dd> |
| <dd><code>timestamp</code> - the record timestamp</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pipeRecordList(java.util.List)"> |
| <h3>pipeRecordList</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">pipeRecordList</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="test/TestRecord.html" title="class in org.apache.kafka.streams.test">TestRecord</a><<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a>,<wbr><a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>>> records)</span></div> |
| <div class="block">Send input records with the given KeyValue list on the topic then commit each record individually. |
| The timestamp will be generated based on the constructor provided start time and time will auto advance.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>records</code> - the list of TestRecord records</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pipeKeyValueList(java.util.List)"> |
| <h3>pipeKeyValueList</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">pipeKeyValueList</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="KeyValue.html" title="class in org.apache.kafka.streams">KeyValue</a><<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a>,<wbr><a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>>> keyValues)</span></div> |
| <div class="block">Send input records with the given KeyValue list on the topic then commit each record individually. |
| The timestamp will be generated based on the constructor provided start time and time will auto advance based on |
| <code>autoAdvance</code> setting.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>keyValues</code> - the <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link"><code>List</code></a> of <a href="KeyValue.html" title="class in org.apache.kafka.streams"><code>KeyValue</code></a> records</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pipeValueList(java.util.List)"> |
| <h3>pipeValueList</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">pipeValueList</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>> values)</span></div> |
| <div class="block">Send input records with the given value list on the topic then commit each record individually. |
| The timestamp will be generated based on the constructor provided start time and time will auto advance based on |
| <code>autoAdvance</code> setting.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>values</code> - the <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link"><code>List</code></a> of <a href="KeyValue.html" title="class in org.apache.kafka.streams"><code>KeyValue</code></a> records</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pipeKeyValueList(java.util.List,java.time.Instant,java.time.Duration)"> |
| <h3>pipeKeyValueList</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">pipeKeyValueList</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="KeyValue.html" title="class in org.apache.kafka.streams">KeyValue</a><<a href="TestInputTopic.html" title="type parameter in TestInputTopic">K</a>,<wbr><a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>>> keyValues, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Instant.html" title="class or interface in java.time" class="external-link">Instant</a> startTimestamp, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html" title="class or interface in java.time" class="external-link">Duration</a> advance)</span></div> |
| <div class="block">Send input records with the given <a href="KeyValue.html" title="class in org.apache.kafka.streams"><code>KeyValue</code></a> list on the topic then commit each record individually. |
| Does not auto advance internally tracked time.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>keyValues</code> - the <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link"><code>List</code></a> of <a href="KeyValue.html" title="class in org.apache.kafka.streams"><code>KeyValue</code></a> records</dd> |
| <dd><code>startTimestamp</code> - the timestamp for the first generated record</dd> |
| <dd><code>advance</code> - the time difference between two consecutive generated records</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="pipeValueList(java.util.List,java.time.Instant,java.time.Duration)"> |
| <h3>pipeValueList</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">pipeValueList</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>> values, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Instant.html" title="class or interface in java.time" class="external-link">Instant</a> startTimestamp, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html" title="class or interface in java.time" class="external-link">Duration</a> advance)</span></div> |
| <div class="block">Send input records with the given value list on the topic then commit each record individually. |
| The timestamp will be generated based on the constructor provided start time and time will auto advance based on |
| <code>autoAdvance</code> setting.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>values</code> - the <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link"><code>List</code></a> of values</dd> |
| <dd><code>startTimestamp</code> - the timestamp for the first generated record</dd> |
| <dd><code>advance</code> - the time difference between two consecutive generated records</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="toString()"> |
| <h3>toString</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">toString</span>()</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| </div> |
| </div> |
| </body> |
| </html> |