blob: d8519a0e301ebb76f988362b523205ccac627714 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>org.apache.kafka.common (kafka 2.8.1 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="org.apache.kafka.common (kafka 2.8.1 API)";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>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="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h1 title="Package" class="title">Package&nbsp;org.apache.kafka.common</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="typeSummary">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="ClusterResourceListener.html" title="interface in org.apache.kafka.common">ClusterResourceListener</a></th>
<td class="colLast">
<div class="block">A callback interface that users can implement when they wish to get notified about changes in the Cluster metadata.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="Configurable.html" title="interface in org.apache.kafka.common">Configurable</a></th>
<td class="colLast">
<div class="block">A Mix-in style interface for classes that are instantiated by reflection and need to take configuration parameters</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="KafkaFuture.BaseFunction.html" title="interface in org.apache.kafka.common">KafkaFuture.BaseFunction</a>&lt;A,&#8203;B&gt;</th>
<td class="colLast">
<div class="block">A function which takes objects of type A and returns objects of type B.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="KafkaFuture.BiConsumer.html" title="interface in org.apache.kafka.common">KafkaFuture.BiConsumer</a>&lt;A,&#8203;B&gt;</th>
<td class="colLast">
<div class="block">A consumer of two different types of object.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="MessageFormatter.html" title="interface in org.apache.kafka.common">MessageFormatter</a></th>
<td class="colLast">
<div class="block">This interface allows to define Formatters that can be used to parse and format records read by a
Consumer instance for display.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="Metric.html" title="interface in org.apache.kafka.common">Metric</a></th>
<td class="colLast">
<div class="block">A metric tracked for monitoring purposes.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="Reconfigurable.html" title="interface in org.apache.kafka.common">Reconfigurable</a></th>
<td class="colLast">
<div class="block">Interface for reconfigurable classes that support dynamic configuration.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="Cluster.html" title="class in org.apache.kafka.common">Cluster</a></th>
<td class="colLast">
<div class="block">An immutable representation of a subset of the nodes, topics, and partitions in the Kafka cluster.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="ClusterResource.html" title="class in org.apache.kafka.common">ClusterResource</a></th>
<td class="colLast">
<div class="block">The <code>ClusterResource</code> class encapsulates metadata for a Kafka cluster.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="Endpoint.html" title="class in org.apache.kafka.common">Endpoint</a></th>
<td class="colLast">
<div class="block">Represents a broker endpoint.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="KafkaFuture.html" title="class in org.apache.kafka.common">KafkaFuture</a>&lt;T&gt;</th>
<td class="colLast">
<div class="block">A flexible future which supports call chaining and other asynchronous programming patterns.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="KafkaFuture.Function.html" title="class in org.apache.kafka.common">KafkaFuture.Function</a>&lt;A,&#8203;B&gt;</th>
<td class="colLast">
<div class="block">A function which takes objects of type A and returns objects of type B.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="MetricName.html" title="class in org.apache.kafka.common">MetricName</a></th>
<td class="colLast">
<div class="block">The <code>MetricName</code> class encapsulates a metric's name, logical group and its related attributes.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="MetricNameTemplate.html" title="class in org.apache.kafka.common">MetricNameTemplate</a></th>
<td class="colLast">
<div class="block">A template for a MetricName.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="Node.html" title="class in org.apache.kafka.common">Node</a></th>
<td class="colLast">
<div class="block">Information about a Kafka node</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="PartitionInfo.html" title="class in org.apache.kafka.common">PartitionInfo</a></th>
<td class="colLast">
<div class="block">This is used to describe per-partition state in the MetadataResponse.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="TopicPartition.html" title="class in org.apache.kafka.common">TopicPartition</a></th>
<td class="colLast">
<div class="block">A topic name and partition number</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="TopicPartitionInfo.html" title="class in org.apache.kafka.common">TopicPartitionInfo</a></th>
<td class="colLast">
<div class="block">A class containing leadership, replicas and ISR information for a topic partition.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="TopicPartitionReplica.html" title="class in org.apache.kafka.common">TopicPartitionReplica</a></th>
<td class="colLast">
<div class="block">The topic name, partition number and the brokerId of the replica</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="Uuid.html" title="class in org.apache.kafka.common">Uuid</a></th>
<td class="colLast">
<div class="block">This class defines an immutable universally unique identifier (UUID).</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary">
<caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Enum</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="ConsumerGroupState.html" title="enum in org.apache.kafka.common">ConsumerGroupState</a></th>
<td class="colLast">
<div class="block">The consumer group state.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="ElectionType.html" title="enum in org.apache.kafka.common">ElectionType</a></th>
<td class="colLast">
<div class="block">Options for <a href="../clients/admin/Admin.html#electLeaders(org.apache.kafka.common.ElectionType,java.util.Set,org.apache.kafka.clients.admin.ElectLeadersOptions)"><code>Admin.electLeaders(ElectionType, Set, org.apache.kafka.clients.admin.ElectLeadersOptions)</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="IsolationLevel.html" title="enum in org.apache.kafka.common">IsolationLevel</a></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary">
<caption><span>Exception Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Exception</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="InvalidRecordException.html" title="class in org.apache.kafka.common">InvalidRecordException</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="KafkaException.html" title="class in org.apache.kafka.common">KafkaException</a></th>
<td class="colLast">
<div class="block">The base class of all other Kafka exceptions</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>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="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>