| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>TestInputTopic (kafka 3.0.0 API)</title> |
| <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 data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "alt-color"; |
| var rowColor = "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">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">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" 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,​V></h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/15/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,​V></div> |
| </div> |
| <section 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> |
| <pre>public class <span class="type-name-label">TestInputTopic<K,​V></span> |
| extends <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></pre> |
| <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><a href="TopologyTestDriver.html" title="class in org.apache.kafka.streams"><code>TopologyTestDriver</code></a></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 class="member-summary" id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="active-table-tab">All Methods</button><button role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="table-tab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="table-tab" onclick="show(8);">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <table class="summary-table" aria-labelledby="t0"> |
| <thead> |
| <tr> |
| <th class="col-first" scope="col">Modifier and Type</th> |
| <th class="col-second" scope="col">Method</th> |
| <th class="col-last" scope="col">Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr class="alt-color" id="i0"> |
| <td class="col-first"><code>void</code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#advanceTime(java.time.Duration)">advanceTime</a></span>​(<a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/time/Duration.html" title="class or interface in java.time" class="external-link">Duration</a> advance)</code></th> |
| <td class="col-last"> |
| <div class="block">Advances the internally tracked event time of this input topic.</div> |
| </td> |
| </tr> |
| <tr class="row-color" id="i1"> |
| <td class="col-first"><code>void</code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#pipeInput(K,V)">pipeInput</a></span>​(<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></th> |
| <td class="col-last"> |
| <div class="block">Send an input record with the given key and value on the topic and then commit the records.</div> |
| </td> |
| </tr> |
| <tr class="alt-color" id="i2"> |
| <td class="col-first"><code>void</code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#pipeInput(K,V,long)">pipeInput</a></span>​(<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></th> |
| <td class="col-last"> |
| <div class="block">Send an input record with the given key, value and timestamp on the topic and then commit the records.</div> |
| </td> |
| </tr> |
| <tr class="row-color" id="i3"> |
| <td class="col-first"><code>void</code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#pipeInput(K,V,java.time.Instant)">pipeInput</a></span>​(<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/15/docs/api/java.base/java/time/Instant.html" title="class or interface in java.time" class="external-link">Instant</a> timestamp)</code></th> |
| <td class="col-last"> |
| <div class="block">Send an input record with the given key, value and timestamp on the topic and then commit the records.</div> |
| </td> |
| </tr> |
| <tr class="alt-color" id="i4"> |
| <td class="col-first"><code>void</code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#pipeInput(org.apache.kafka.streams.test.TestRecord)">pipeInput</a></span>​(<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>,​<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>> record)</code></th> |
| <td class="col-last"> |
| <div class="block">Send an input record with the given record on the topic and then commit the records.</div> |
| </td> |
| </tr> |
| <tr class="row-color" id="i5"> |
| <td class="col-first"><code>void</code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#pipeInput(V)">pipeInput</a></span>​(<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value)</code></th> |
| <td class="col-last"> |
| <div class="block">Send an input record with the given value on the topic and then commit the records.</div> |
| </td> |
| </tr> |
| <tr class="alt-color" id="i6"> |
| <td class="col-first"><code>void</code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#pipeInput(V,java.time.Instant)">pipeInput</a></span>​(<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value, |
| <a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/time/Instant.html" title="class or interface in java.time" class="external-link">Instant</a> timestamp)</code></th> |
| <td class="col-last"> |
| <div class="block">Send an input record with the given value and timestamp on the topic and then commit the records.</div> |
| </td> |
| </tr> |
| <tr class="row-color" id="i7"> |
| <td class="col-first"><code>void</code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#pipeKeyValueList(java.util.List)">pipeKeyValueList</a></span>​(<a href="https://docs.oracle.com/en/java/javase/15/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>,​<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>>> keyValues)</code></th> |
| <td class="col-last"> |
| <div class="block">Send input records with the given KeyValue list on the topic then commit each record individually.</div> |
| </td> |
| </tr> |
| <tr class="alt-color" id="i8"> |
| <td class="col-first"><code>void</code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#pipeKeyValueList(java.util.List,java.time.Instant,java.time.Duration)">pipeKeyValueList</a></span>​(<a href="https://docs.oracle.com/en/java/javase/15/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>,​<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>>> keyValues, |
| <a href="https://docs.oracle.com/en/java/javase/15/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/15/docs/api/java.base/java/time/Duration.html" title="class or interface in java.time" class="external-link">Duration</a> advance)</code></th> |
| <td class="col-last"> |
| <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> |
| </td> |
| </tr> |
| <tr class="row-color" id="i9"> |
| <td class="col-first"><code>void</code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#pipeRecordList(java.util.List)">pipeRecordList</a></span>​(<a href="https://docs.oracle.com/en/java/javase/15/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>,​<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>>> records)</code></th> |
| <td class="col-last"> |
| <div class="block">Send input records with the given KeyValue list on the topic then commit each record individually.</div> |
| </td> |
| </tr> |
| <tr class="alt-color" id="i10"> |
| <td class="col-first"><code>void</code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#pipeValueList(java.util.List)">pipeValueList</a></span>​(<a href="https://docs.oracle.com/en/java/javase/15/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></th> |
| <td class="col-last"> |
| <div class="block">Send input records with the given value list on the topic then commit each record individually.</div> |
| </td> |
| </tr> |
| <tr class="row-color" id="i11"> |
| <td class="col-first"><code>void</code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#pipeValueList(java.util.List,java.time.Instant,java.time.Duration)">pipeValueList</a></span>​(<a href="https://docs.oracle.com/en/java/javase/15/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/15/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/15/docs/api/java.base/java/time/Duration.html" title="class or interface in java.time" class="external-link">Duration</a> advance)</code></th> |
| <td class="col-last"> |
| <div class="block">Send input records with the given value list on the topic then commit each record individually.</div> |
| </td> |
| </tr> |
| <tr class="alt-color" id="i12"> |
| <td class="col-first"><code><a href="https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></td> |
| <th class="col-second" scope="row"><code><span class="member-name-link"><a href="#toString()">toString</a></span>()</code></th> |
| <td class="col-last"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </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/15/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/15/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/15/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/15/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/15/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/15/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/15/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/15/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/15/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/15/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/15/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="member-name">advanceTime</span>​(<span class="parameters"><a href="https://docs.oracle.com/en/java/javase/15/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="member-name">pipeInput</span>​(<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>,​<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="member-name">pipeInput</span>​(<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="member-name">pipeInput</span>​(<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="member-name">pipeInput</span>​(<span class="parameters"><a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a> value, |
| <a href="https://docs.oracle.com/en/java/javase/15/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="member-name">pipeInput</span>​(<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="member-name">pipeInput</span>​(<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/15/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="member-name">pipeRecordList</span>​(<span class="parameters"><a href="https://docs.oracle.com/en/java/javase/15/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>,​<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="member-name">pipeKeyValueList</span>​(<span class="parameters"><a href="https://docs.oracle.com/en/java/javase/15/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>,​<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/15/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="member-name">pipeValueList</span>​(<span class="parameters"><a href="https://docs.oracle.com/en/java/javase/15/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/15/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="member-name">pipeKeyValueList</span>​(<span class="parameters"><a href="https://docs.oracle.com/en/java/javase/15/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>,​<a href="TestInputTopic.html" title="type parameter in TestInputTopic">V</a>>> keyValues, |
| <a href="https://docs.oracle.com/en/java/javase/15/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/15/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/15/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="member-name">pipeValueList</span>​(<span class="parameters"><a href="https://docs.oracle.com/en/java/javase/15/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/15/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/15/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/15/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/15/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="member-name">toString</span>()</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/15/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/15/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> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottom-nav" id="navbar.bottom"> |
| <div class="skip-nav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar.bottom.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">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> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <span class="skip-nav" id="skip.navbar.bottom"> |
| <!-- --> |
| </span></nav> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |