blob: d473ad50546ceac518d7584a28b66f8c8ffb90bb [file]
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Apache Pulsar - v1.8.2</title><meta name="description" content="Documentation for Apache Pulsar - v1.8.2"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script async src="assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
<div class="tsd-toolbar-contents container">
<div class="table-cell" id="tsd-search" data-base=".">
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
<div class="field">
<div id="tsd-toolbar-links"><a href="https://pulsar.apache.org/">Homepage</a><a href="https://github.com/apache/pulsar-client-node">GitHub</a></div></div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">Apache Pulsar - v1.8.2</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
<div class="container container-main">
<div class="col-8 col-content">
<div class="tsd-page-title">
<h2>Apache Pulsar - v1.8.2</h2></div>
<div class="tsd-panel tsd-typography"><!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<a href="#pulsar-nodejs-client-library" id="pulsar-nodejs-client-library" style="color: inherit; text-decoration: none;">
<h1>Pulsar Node.js client library</h1>
</a>
<p>The Pulsar Node.js client can be used to create Pulsar producers and consumers in Node.js.</p>
<p>This library works only in Node.js 10.x or later because it uses the
<a href="https://github.com/nodejs/node-addon-api">node-addon-api</a> module to wrap the C++ library.</p>
<a href="#getting-started" id="getting-started" style="color: inherit; text-decoration: none;">
<h2>Getting Started</h2>
</a>
<blockquote>
<p><strong>Note</strong></p>
<p>These instructions are only available for versions after 1.8.0. For versions previous to 1.8.0, you need to install the C++ client first. Please switch to the corresponding version branch of this repo to read the specific instructions.</p>
<p>To run the examples, skip this section.</p>
</blockquote>
<p>To use the Pulsar Node.js client in your project, run:</p>
<pre><code class="language-shell"><span class="hl-0">npm </span><span class="hl-1">install</span><span class="hl-0"> </span><span class="hl-1">pulsar-client</span>
</code></pre>
<p>or</p>
<pre><code class="language-shell"><span class="hl-0">yarn </span><span class="hl-1">add</span><span class="hl-0"> </span><span class="hl-1">pulsar-client</span>
</code></pre>
<p>Then you can run the following simple end-to-end example:</p>
<pre><code class="language-javascript"><span class="hl-2">const</span><span class="hl-0"> </span><span class="hl-3">Pulsar</span><span class="hl-0"> = </span><span class="hl-4">require</span><span class="hl-0">(</span><span class="hl-1">&#39;pulsar-client&#39;</span><span class="hl-0">);</span><br/><br/><span class="hl-0">(</span><span class="hl-2">async</span><span class="hl-0"> () </span><span class="hl-2">=&gt;</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-5">// Create a client</span><br/><span class="hl-0"> </span><span class="hl-2">const</span><span class="hl-0"> </span><span class="hl-3">client</span><span class="hl-0"> = </span><span class="hl-2">new</span><span class="hl-0"> </span><span class="hl-6">Pulsar</span><span class="hl-0">.</span><span class="hl-4">Client</span><span class="hl-0">({</span><br/><span class="hl-0"> </span><span class="hl-6">serviceUrl:</span><span class="hl-0"> </span><span class="hl-1">&#39;pulsar://localhost:6650&#39;</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-5">// Create a producer</span><br/><span class="hl-0"> </span><span class="hl-2">const</span><span class="hl-0"> </span><span class="hl-3">producer</span><span class="hl-0"> = </span><span class="hl-7">await</span><span class="hl-0"> </span><span class="hl-6">client</span><span class="hl-0">.</span><span class="hl-4">createProducer</span><span class="hl-0">({</span><br/><span class="hl-0"> </span><span class="hl-6">topic:</span><span class="hl-0"> </span><span class="hl-1">&#39;persistent://public/default/my-topic&#39;</span><span class="hl-0">,</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-5">// Create a consumer</span><br/><span class="hl-0"> </span><span class="hl-2">const</span><span class="hl-0"> </span><span class="hl-3">consumer</span><span class="hl-0"> = </span><span class="hl-7">await</span><span class="hl-0"> </span><span class="hl-6">client</span><span class="hl-0">.</span><span class="hl-4">subscribe</span><span class="hl-0">({</span><br/><span class="hl-0"> </span><span class="hl-6">topic:</span><span class="hl-0"> </span><span class="hl-1">&#39;persistent://public/default/my-topic&#39;</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-6">subscription:</span><span class="hl-0"> </span><span class="hl-1">&#39;sub1&#39;</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-5">// Send a message</span><br/><span class="hl-0"> </span><span class="hl-6">producer</span><span class="hl-0">.</span><span class="hl-4">send</span><span class="hl-0">({</span><br/><span class="hl-0"> </span><span class="hl-6">data:</span><span class="hl-0"> </span><span class="hl-6">Buffer</span><span class="hl-0">.</span><span class="hl-4">from</span><span class="hl-0">(</span><span class="hl-1">&quot;hello&quot;</span><span class="hl-0">)</span><br/><span class="hl-0"> });</span><br/><br/><span class="hl-0"> </span><span class="hl-5">// Receive the message </span><br/><span class="hl-0"> </span><span class="hl-2">const</span><span class="hl-0"> </span><span class="hl-3">msg</span><span class="hl-0"> = </span><span class="hl-7">await</span><span class="hl-0"> </span><span class="hl-6">consumer</span><span class="hl-0">.</span><span class="hl-4">receive</span><span class="hl-0">();</span><br/><span class="hl-0"> </span><span class="hl-6">console</span><span class="hl-0">.</span><span class="hl-4">log</span><span class="hl-0">(</span><span class="hl-6">msg</span><span class="hl-0">.</span><span class="hl-4">getData</span><span class="hl-0">().</span><span class="hl-4">toString</span><span class="hl-0">());</span><br/><span class="hl-0"> </span><span class="hl-6">consumer</span><span class="hl-0">.</span><span class="hl-4">acknowledge</span><span class="hl-0">(</span><span class="hl-6">msg</span><span class="hl-0">);</span><br/><br/><span class="hl-0"> </span><span class="hl-7">await</span><span class="hl-0"> </span><span class="hl-6">producer</span><span class="hl-0">.</span><span class="hl-4">close</span><span class="hl-0">();</span><br/><span class="hl-0"> </span><span class="hl-7">await</span><span class="hl-0"> </span><span class="hl-6">consumer</span><span class="hl-0">.</span><span class="hl-4">close</span><span class="hl-0">();</span><br/><span class="hl-0"> </span><span class="hl-7">await</span><span class="hl-0"> </span><span class="hl-6">client</span><span class="hl-0">.</span><span class="hl-4">close</span><span class="hl-0">();</span><br/><span class="hl-0">})();</span>
</code></pre>
<p>You should find the output as:</p>
<pre><code><span class="hl-6">hello</span>
</code></pre>
<p>You can see more examples in the <a href="./examples">examples</a> directory. However, since these examples might use an API that was not released yet, you need to build this module. See the next section.</p>
<a href="#how-to-build" id="how-to-build" style="color: inherit; text-decoration: none;">
<h2>How to build</h2>
</a>
<blockquote>
<p><strong>Note</strong></p>
<p>Build from source code requires the Node.js version greater than 16.18</p>
</blockquote>
<p>First, clone the repository.</p>
<pre><code class="language-shell"><span class="hl-0">git </span><span class="hl-1">clone</span><span class="hl-0"> </span><span class="hl-1">https://github.com/apache/pulsar-client-node.git</span><br/><span class="hl-4">cd</span><span class="hl-0"> </span><span class="hl-1">pulsar-client-node</span>
</code></pre>
<p>Since this client is a <a href="https://nodejs.org/api/addons.html#c-addons">C++ addon</a> that depends on the <a href="https://github.com/apache/pulsar-client-cpp">Pulsar C++ client</a>, you need to install the C++ client first. You need to ensure there is a C++ compiler that supports C++11 installed in your system.</p>
<ul>
<li>Install C++ client on Linux:</li>
</ul>
<pre><code class="language-shell"><span class="hl-0">pkg/linux/download-cpp-client.sh</span>
</code></pre>
<ul>
<li>Install C++ client on Windows:</li>
</ul>
<pre><code class="language-shell"><span class="hl-0">pkg\windows\download-cpp-client.bat</span>
</code></pre>
<ul>
<li>Install C++ client on macOS:</li>
</ul>
<pre><code class="language-shell"><span class="hl-0">pkg/mac/build-cpp-deps-lib.sh</span><br/><span class="hl-0">pkg/mac/build-cpp-lib.sh</span>
</code></pre>
<p>After the C++ client is installed, run the following command to build this C++ addon.</p>
<pre><code class="language-shell"><span class="hl-0">npm </span><span class="hl-1">install</span>
</code></pre>
<p>To verify it has been installed successfully, you can run an example like:</p>
<pre><code class="language-shell"><span class="hl-0">node </span><span class="hl-1">examples/producer</span>
</code></pre>
<p>You should find the output as:</p>
<pre><code><span class="hl-6">Sent</span><span class="hl-0"> </span><span class="hl-8">message</span><span class="hl-0">: </span><span class="hl-6">my</span><span class="hl-0">-</span><span class="hl-6">message</span><span class="hl-0">-</span><span class="hl-9">0</span><br/><span class="hl-6">Sent</span><span class="hl-0"> </span><span class="hl-8">message</span><span class="hl-0">: </span><span class="hl-6">my</span><span class="hl-0">-</span><span class="hl-6">message</span><span class="hl-0">-</span><span class="hl-9">1</span><br/><span class="hl-6">Sent</span><span class="hl-0"> </span><span class="hl-8">message</span><span class="hl-0">: </span><span class="hl-6">my</span><span class="hl-0">-</span><span class="hl-6">message</span><span class="hl-0">-</span><span class="hl-9">2</span><br/><span class="hl-6">Sent</span><span class="hl-0"> </span><span class="hl-8">message</span><span class="hl-0">: </span><span class="hl-6">my</span><span class="hl-0">-</span><span class="hl-6">message</span><span class="hl-0">-</span><span class="hl-9">3</span><br/><span class="hl-6">Sent</span><span class="hl-0"> </span><span class="hl-8">message</span><span class="hl-0">: </span><span class="hl-6">my</span><span class="hl-0">-</span><span class="hl-6">message</span><span class="hl-0">-</span><span class="hl-9">4</span><br/><span class="hl-6">Sent</span><span class="hl-0"> </span><span class="hl-8">message</span><span class="hl-0">: </span><span class="hl-6">my</span><span class="hl-0">-</span><span class="hl-6">message</span><span class="hl-0">-</span><span class="hl-9">5</span><br/><span class="hl-6">Sent</span><span class="hl-0"> </span><span class="hl-8">message</span><span class="hl-0">: </span><span class="hl-6">my</span><span class="hl-0">-</span><span class="hl-6">message</span><span class="hl-0">-</span><span class="hl-9">6</span><br/><span class="hl-6">Sent</span><span class="hl-0"> </span><span class="hl-8">message</span><span class="hl-0">: </span><span class="hl-6">my</span><span class="hl-0">-</span><span class="hl-6">message</span><span class="hl-0">-</span><span class="hl-9">7</span><br/><span class="hl-6">Sent</span><span class="hl-0"> </span><span class="hl-8">message</span><span class="hl-0">: </span><span class="hl-6">my</span><span class="hl-0">-</span><span class="hl-6">message</span><span class="hl-0">-</span><span class="hl-9">8</span><br/><span class="hl-6">Sent</span><span class="hl-0"> </span><span class="hl-8">message</span><span class="hl-0">: </span><span class="hl-6">my</span><span class="hl-0">-</span><span class="hl-6">message</span><span class="hl-0">-</span><span class="hl-9">9</span>
</code></pre>
<a href="#documentation" id="documentation" style="color: inherit; text-decoration: none;">
<h2>Documentation</h2>
</a>
<ul>
<li>Please see <a href="https://pulsar.apache.org/docs/client-libraries-node/">https://pulsar.apache.org/docs/client-libraries-node/</a> for more details about the Pulsar Node.js client.</li>
</ul>
<p>You can generate the API docs by:</p>
<pre><code class="language-shell"><span class="hl-0">npm </span><span class="hl-1">install</span><br/><span class="hl-0">npx </span><span class="hl-1">typedoc</span><br/><span class="hl-5"># Documentation generated at ./apidocs</span>
</code></pre>
</div></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
<div class="tsd-accordion-details">
<div class="tsd-filter-visibility">
<h4 class="uppercase">Member Visibility</h4><form>
<ul id="tsd-filter-options">
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
<div class="tsd-theme-toggle">
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
<nav class="tsd-navigation primary">
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
<div class="tsd-accordion-details">
<ul>
<li class="current selected"><a href="modules.html">Apache <wbr/>Pulsar -<wbr/> v1.8.2</a>
<ul></ul></li></ul></div></details></nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="tsd-kind-enum"><a href="enums/LogLevel.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Log<wbr/>Level</a></li>
<li class="tsd-kind-class"><a href="classes/AuthenticationAthenz.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg>Authentication<wbr/>Athenz</a></li>
<li class="tsd-kind-class"><a href="classes/AuthenticationOauth2.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Authentication<wbr/>Oauth2</a></li>
<li class="tsd-kind-class"><a href="classes/AuthenticationTls.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Authentication<wbr/>Tls</a></li>
<li class="tsd-kind-class"><a href="classes/AuthenticationToken.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Authentication<wbr/>Token</a></li>
<li class="tsd-kind-class"><a href="classes/Client.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Client</a></li>
<li class="tsd-kind-class"><a href="classes/Consumer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Consumer</a></li>
<li class="tsd-kind-class"><a href="classes/Message.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Message</a></li>
<li class="tsd-kind-class"><a href="classes/MessageId.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Message<wbr/>Id</a></li>
<li class="tsd-kind-class"><a href="classes/Producer.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Producer</a></li>
<li class="tsd-kind-class"><a href="classes/Reader.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Reader</a></li>
<li class="tsd-kind-interface"><a href="interfaces/AthenzConfig.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>Athenz<wbr/>Config</a></li>
<li class="tsd-kind-interface"><a href="interfaces/ClientConfig.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Client<wbr/>Config</a></li>
<li class="tsd-kind-interface"><a href="interfaces/ConsumerConfig.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Consumer<wbr/>Config</a></li>
<li class="tsd-kind-interface"><a href="interfaces/ProducerConfig.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Producer<wbr/>Config</a></li>
<li class="tsd-kind-interface"><a href="interfaces/ProducerMessage.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Producer<wbr/>Message</a></li>
<li class="tsd-kind-interface"><a href="interfaces/ReaderConfig.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Reader<wbr/>Config</a></li>
<li class="tsd-kind-type-alias"><a href="types/CompressionType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg>Compression<wbr/>Type</a></li>
<li class="tsd-kind-type-alias"><a href="types/ConsumerCryptoFailureAction.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Consumer<wbr/>Crypto<wbr/>Failure<wbr/>Action</a></li>
<li class="tsd-kind-type-alias"><a href="types/HashingScheme.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Hashing<wbr/>Scheme</a></li>
<li class="tsd-kind-type-alias"><a href="types/InitialPosition.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Initial<wbr/>Position</a></li>
<li class="tsd-kind-type-alias"><a href="types/MessageRoutingMode.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Message<wbr/>Routing<wbr/>Mode</a></li>
<li class="tsd-kind-type-alias"><a href="types/ProducerCryptoFailureAction.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Producer<wbr/>Crypto<wbr/>Failure<wbr/>Action</a></li>
<li class="tsd-kind-type-alias"><a href="types/SubscriptionType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Subscription<wbr/>Type</a></li></ul></nav></div></div>
<div class="container tsd-generator">
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
<div class="overlay"></div><script src="assets/main.js"></script></body></html>