You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by jm...@apache.org on 2017/06/09 18:46:24 UTC
svn commit: r1798258 [14/22] - in /samza/site: ./ archive/ community/
contribute/ img/latest/learn/documentation/introduction/
img/latest/learn/tutorials/
img/latest/learn/tutorials/hello-samza-high-level/
learn/documentation/latest/ learn/documentatio...
Modified: samza/site/learn/documentation/latest/introduction/background.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/introduction/background.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/introduction/background.html (original)
+++ samza/site/learn/documentation/latest/introduction/background.html Fri Jun 9 18:46:20 2017
@@ -46,7 +46,7 @@
- <a href="http://samza.apache.org/learn/documentation/0.12/introduction/background.html"><i id="switch-version-button"></i></a>
+ <a href="http://samza.apache.org/learn/documentation/0.13/introduction/background.html"><i id="switch-version-button"></i></a>
<!-- links for the navigation bar -->
@@ -61,6 +61,7 @@
<ul>
<li><a href="/startup/hello-samza/latest">Hello Samza</a></li>
<li><a href="/startup/download">Download</a></li>
+ <li><a href="/startup/preview">Feature Preview</a></li>
</ul>
<h1><i class="fa fa-book"></i> Learn</h1>
@@ -98,6 +99,7 @@
<h1><i class="fa fa-history"></i> Archive</h1>
<ul>
<li><a href="/archive/index.html#latest">latest</a></li>
+ <li><a href="/archive/index.html#13">0.13</a></li>
<li><a href="/archive/index.html#12">0.12</a></li>
<li><a href="/archive/index.html#11">0.11</a></li>
<li><a href="/archive/index.html#10">0.10</a></li>
@@ -217,7 +219,7 @@
<script>
$( document ).ready(function() {
- if ( $.fn.urlExists( "/learn/documentation/0.12/introduction/background.html" ) ) {
+ if ( $.fn.urlExists( "/learn/documentation/0.13/introduction/background.html" ) ) {
$("#switch-version-button").addClass("fa fa-history masthead-icon");
}
});
Modified: samza/site/learn/documentation/latest/introduction/concepts.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/introduction/concepts.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/introduction/concepts.html (original)
+++ samza/site/learn/documentation/latest/introduction/concepts.html Fri Jun 9 18:46:20 2017
@@ -46,7 +46,7 @@
- <a href="http://samza.apache.org/learn/documentation/0.12/introduction/concepts.html"><i id="switch-version-button"></i></a>
+ <a href="http://samza.apache.org/learn/documentation/0.13/introduction/concepts.html"><i id="switch-version-button"></i></a>
<!-- links for the navigation bar -->
@@ -61,6 +61,7 @@
<ul>
<li><a href="/startup/hello-samza/latest">Hello Samza</a></li>
<li><a href="/startup/download">Download</a></li>
+ <li><a href="/startup/preview">Feature Preview</a></li>
</ul>
<h1><i class="fa fa-book"></i> Learn</h1>
@@ -98,6 +99,7 @@
<h1><i class="fa fa-history"></i> Archive</h1>
<ul>
<li><a href="/archive/index.html#latest">latest</a></li>
+ <li><a href="/archive/index.html#13">0.13</a></li>
<li><a href="/archive/index.html#12">0.12</a></li>
<li><a href="/archive/index.html#11">0.11</a></li>
<li><a href="/archive/index.html#10">0.10</a></li>
@@ -212,7 +214,7 @@
<script>
$( document ).ready(function() {
- if ( $.fn.urlExists( "/learn/documentation/0.12/introduction/concepts.html" ) ) {
+ if ( $.fn.urlExists( "/learn/documentation/0.13/introduction/concepts.html" ) ) {
$("#switch-version-button").addClass("fa fa-history masthead-icon");
}
});
Modified: samza/site/learn/documentation/latest/jobs/configuration-table.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/jobs/configuration-table.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/jobs/configuration-table.html (original)
+++ samza/site/learn/documentation/latest/jobs/configuration-table.html Fri Jun 9 18:46:20 2017
@@ -59,7 +59,7 @@
font-family: monospace;
}
- span.system, span.stream, span.store, span.serde, span.rewriter, span.listener, span.reporter {
+ span.system, span.stream, span.store, span.serde, span.rewriter, span.listener, span.reporter, span.resource {
padding: 1px;
margin: 1px;
border-width: 1px;
@@ -101,6 +101,11 @@
background-color: #dff;
border-color: #bdd;
}
+
+ span.resource {
+ background-color: #ded;
+ border-color: #bcb;
+ }
</style>
</head>
@@ -156,13 +161,20 @@
others' checkpoints, and perhaps interfere with each other in other ways.
</td>
</tr>
- <tr>
<td class="property" id="job-coordinator-system">job.coordinator.system</td>
<td class="default"></td>
<td class="description">
<strong>Required:</strong> The <span class="system">system-name</span> to use for creating and maintaining the <a href="../container/coordinator-stream.html">Coordinator Stream</a>.
</td>
</tr>
+ <tr>
+ <td class="property" id="job-default-system">job.default.system</td>
+ <td class="default"></td>
+ <td class="description">
+ The <span class="system">system-name</span> to access any input or output streams for which the system is not explicitly configured.
+ This property is for input and output streams whereas job.coordinator.system is for samza metadata streams.</a>.
+ </td>
+ </tr>
<tr>
<td class="property" id="job-coordinator-replication-factor">job.coordinator.<br />replication.factor</td>
@@ -254,7 +266,7 @@
</tr>
<tr>
- <td class="property" id="job-systemstreampartition-matcher-class">job.systemstreampartition.matcher.class</td>
+ <td class="property" id="job-systemstreampartition-matcher-class">job.systemstreampartition.<br>matcher.class</td>
<td class="default"></td>
<td class="description">
If you want to enable static partition assignment, then this is a <strong>required</strong> configuration.
@@ -286,7 +298,7 @@
</tr>
<tr>
- <td class="property" id="job_systemstreampartition_matcher_config_range">job.systemstreampartition.matcher.config.range</td>
+ <td class="property" id="job_systemstreampartition_matcher_config_range">job.systemstreampartition.<br>matcher.config.range</td>
<td class="default"></td>
<td class="description">
If <code>job.systemstreampartition.matcher.class</code> is specified, and the value of this property is
@@ -305,7 +317,7 @@
</tr>
<tr>
- <td class="property" id="job_systemstreampartition_matcher_config_regex">job.systemstreampartition.matcher.config.regex</td>
+ <td class="property" id="job_systemstreampartition_matcher_config_regex">job.systemstreampartition.<br>matcher.config.regex</td>
<td class="default"></td>
<td class="description">
If <code>job.systemstreampartition.matcher.class</code> is specified, and the value of this property is
@@ -316,8 +328,7 @@
</tr>
<tr>
- <td class="property" id="job_systemstreampartition_matcher_co
- nfig_job_factory_regex">job.systemstreampartition.matcher.config.job.factory.regex</td>
+ <td class="property" id="job_systemstreampartition_matcher_config_job_factory_regex">job.systemstreampartition.<br>matcher.config.job.factory.regex</td>
<td class="default"></td>
<td class="description">
This configuration can be used to specify the Java supported regex to match the <code>StreamJobFactory</code>
@@ -403,10 +414,65 @@
<a href="#stores-changelog" class="property">stores.store-name.changelog</a>.
</td>
</tr>
+ <tr>
+ <td class="property" id="job.coordinator.factory">job.coordinator.factory</td>
+ <td class="default"></td>
+ <td class="description">
+ Class to use for job coordination. Currently available values are:
+ <dl>
+ <dt><code>org.apache.samza.standalone.PassthroughJobCoordinatorFactory</code></dt>
+ <dd>Fixed partition mapping. No Zoookeeper. </dd>
+ <dt><code>org.apache.samza.zk.ZkJobCoordinatorFactory</code></dt>
+ <dd>Zookeeper-based coordination. </dd>
+ </dl>
+ Required only for non-cluster-managed applications. Please see the required value for <a href=#task-name-grouper-factory>task-name-grouper-factory </a>
+ </td>
+ </tr>
+
+ <tr>
+ <!-- change link to StandAlone design/tutorial doc. SAMZA-1299 -->
+ <th colspan="3" class="section" id="ZkBasedJobCoordination"><a href="../index.html">Zookeeper-based job configuration</a></th>
+ </tr>
+ <tr>
+ <td class="property" id="job.coordinator.zk.connect">job.coordinator.zk.connect</td>
+ <td class="default"></td>
+ <td class="description">
+ <strong>Required</strong> for applications with Zookeeper-based coordination. Zookeeper coordinates (in "host:port[/znode]" format) to be used for coordination.
+ </td>
+ </tr>
+ <tr>
+ <td class="property" id="job.coordinator.zk.session.timeout.ms">job.coordinator.zk.session.timeout.ms</td>
+ <td class="default"> 30000 </td>
+ <td class="description">
+ Zookeeper session timeout for all the ZK connections in milliseconds. Session timeout controls how long zk client will wait before throwing an exception, when it cannot talk to one of ZK servers.
+ </td>
+ </tr>
+ <tr>
+ <td class="property" id="job.coordinator.zk.connection.timeout.ms">job.coordinator.zk.connection.timeout.ms</td>
+ <td class="default"> 60000 </td>
+ <td class="description">
+ Zookeeper connection timeout in milliseconds. Zk connection timeout controls how long client tries to connect to ZK server before giving up.
+ </td>
+ </tr>
+ <tr>
+ <td class="property" id="job.coordinator.zk.new.consensus.timeout.ms">job.coordinator.zk.consensus.timeout.ms</td>
+ <td class="default"> 40000 </td>
+ <td class="description">
+ How long each processor will wait for all the processors to report acceptance of the new job model before rolling back.
+ </td>
+ </tr>
+ <tr>
+ <td class="property" id="job.debounce.time.ms">job.debounce.time.ms</td>
+ <td class="default"> 2000 </td>
+ <td class="description">
+ How long the Leader processor will wait before recalculating the JobModel on change of registered processors.
+ </td>
+ </tr>
<tr>
<th colspan="3" class="section" id="task"><a href="../api/overview.html">Task configuration</a></th>
</tr>
+
<tr>
<td class="property" id="task-class">task.class</td>
<td class="default"></td>
@@ -641,6 +707,7 @@
The fully-qualified name of the Java class which determines the factory class which will build the TaskNameGrouper.
The default configuration value if the property is not present is <code>task.name.grouper.factory=org.apache.samza.container.grouper.task.GroupByContainerCountFactory</code>.<br>
The user can specify a custom implementation of the TaskNameGrouperFactory where a custom logic is implemented for grouping the tasks.
+ <p><strong>Note:</strong> For non-cluster applications (ones using coordination service) one must use <i>org.apache.samza.container.grouper.task.GroupByContainerIdsFactory</i>
</td>
</tr>
@@ -683,7 +750,18 @@
</tr>
<tr>
- <th colspan="3" class="section" id="streams"><a href="../container/streams.html">Systems (input and output streams)</a></th>
+ <td class="property" id="task-consumer-batch-size">task.consumer.batch.size</td>
+ <td class="default">1</td>
+ <td class="description">
+ If set to a positive integer, the task will try to consume
+ <a href="../container/streams.html#batching">batches</a> with the given number of messages
+ from each input stream, rather than consuming round-robin from all the input streams on
+ each individual message. Setting this property can improve performance in some cases.
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan="3" class="section" id="systems">Systems</th>
</tr>
<tr>
@@ -714,45 +792,52 @@
</tr>
<tr>
- <td class="property" id="systems-samza-key-serde">systems.<span class="system">system-name</span>.<br>samza.key.serde</td>
- <td class="default" rowspan="2"></td>
- <td class="description" rowspan="2">
+ <td class="property" id="systems-default-stream">systems.<span class="system">system-name</span>.<br>default.stream.*</td>
+ <td class="default"></td>
+ <td class="description">
+ A set of default properties for any stream associated with the system. For example, if
+ "systems.kafka-system.default.stream.replication.factor"=2 was configured, then every Kafka stream
+ created on the kafka-system will have a replication factor of 2 unless the property is explicitly
+ overridden at the stream scope using <a href="#streams-properties">streams properties</a>.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="systems-samza-key-serde">systems.<span class="system">system-name</span>.<br>default.stream.samza.key.serde</td>
+ <td class="default"></td>
+ <td class="description">
The <a href="../container/serialization.html">serde</a> which will be used to deserialize the
<em>key</em> of messages on input streams, and to serialize the <em>key</em> of messages on
- output streams. This property can be defined either for an individual stream, or for all
- streams within a system (if both are defined, the stream-level definition takes precedence).
+ output streams. This property defines the serde for an for all streams in the system. See the
+ <a href="#streams-samza-key-serde">stream-scoped property</a> to define the serde for an
+ individual stream. If both are defined, the stream-level definition takes precedence.
The value of this property must be a <span class="serde">serde-name</span> that is registered
with <a href="#serializers-registry-class" class="property">serializers.registry.*.class</a>.
If this property is not set, messages are passed unmodified between the input stream consumer,
the task and the output stream producer.
</td>
</tr>
- <tr>
- <td class="property">systems.<span class="system">system-name</span>.<br>streams.<span class="stream">stream-name</span>.<br>samza.key.serde</td>
- </tr>
<tr>
- <td class="property" id="systems-samza-msg-serde">systems.<span class="system">system-name</span>.<br>samza.msg.serde</td>
- <td class="default" rowspan="2"></td>
- <td class="description" rowspan="2">
+ <td class="property" id="systems-samza-msg-serde">systems.<span class="system">system-name</span>.<br>default.stream.samza.msg.serde</td>
+ <td class="default"></td>
+ <td class="description">
The <a href="../container/serialization.html">serde</a> which will be used to deserialize the
<em>value</em> of messages on input streams, and to serialize the <em>value</em> of messages on
- output streams. This property can be defined either for an individual stream, or for all
- streams within a system (if both are defined, the stream-level definition takes precedence).
+ output streams. This property defines the serde for an for all streams in the system. See the
+ <a href="#streams-samza-msg-serde">stream-scoped property</a> to define the serde for an
+ individual stream. If both are defined, the stream-level definition takes precedence.
The value of this property must be a <span class="serde">serde-name</span> that is registered
with <a href="#serializers-registry-class" class="property">serializers.registry.*.class</a>.
If this property is not set, messages are passed unmodified between the input stream consumer,
the task and the output stream producer.
</td>
</tr>
- <tr>
- <td class="property">systems.<span class="system">system-name</span>.<br>streams.<span class="stream">stream-name</span>.<br>samza.msg.serde</td>
- </tr>
<tr>
- <td class="property" id="systems-samza-offset-default">systems.<span class="system">system-name</span>.<br>samza.offset.default</td>
- <td class="default" rowspan="2">upcoming</td>
- <td class="description" rowspan="2">
+ <td class="property" id="systems-samza-offset-default">systems.<span class="system">system-name</span>.<br>default.stream.samza.offset.default</td>
+ <td class="default">upcoming</td>
+ <td class="description">
If a container starts up without a <a href="../container/checkpointing.html">checkpoint</a>,
this property determines where in the input stream we should start consuming. The value must be an
<a href="../api/javadocs/org/apache/samza/system/SystemStreamMetadata.OffsetType.html">OffsetType</a>,
@@ -765,18 +850,170 @@
<dd>Start processing at the oldest available message in the system, and
<a href="reprocessing.html">reprocess</a> the entire available message history.</dd>
</dl>
- This property can be defined either for an individual stream, or for all streams within a system
- (if both are defined, the stream-level definition takes precedence).
+ This property is for all streams within a system. To set it for an individual stream, see
+ <a href="#streams-samza-offset-default">streams.<span class="stream">stream-id</span>.<br>samza.offset.default</a>
+ If both are defined, the stream-level definition takes precedence.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="systems-samza-key-serde-legacy">systems.<span class="system">system-name</span>.<br>samza.key.serde</td>
+ <td class="default" rowspan="2"></td>
+ <td class="description">
+ This is deprecated in favor of <a href="#systems-samza-key-serde" class="property">
+ systems.<span class="system">system-name</span>.default.stream.samza.key.serde</a>.
+ </td>
+ </tr>
+ <tr>
+ <td class="property">systems.<span class="system">system-name</span>.<br>streams.<span class="stream">stream-name</span>.<br>samza.key.serde</td>
+ <td class="description">
+ This is deprecated in favor of <a href="#streams-samza-key-serde" class="property">
+ streams.<span class="stream">stream-id</span>.samza.key.serde</a>.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="systems-samza-msg-serde-legacy">systems.<span class="system">system-name</span>.<br>samza.msg.serde</td>
+ <td class="default" rowspan="2"></td>
+ <td class="description">
+ This is deprecated in favor of <a href="#systems-samza-msg-serde" class="property">
+ systems.<span class="system">system-name</span>.default.stream.samza.msg.serde</a>.
+ </td>
+ </tr>
+ <tr>
+ <td class="property">systems.<span class="system">system-name</span>.<br>streams.<span class="stream">stream-name</span>.<br>samza.msg.serde</td>
+ <td class="description">
+ This is deprecated in favor of <a href="#streams-samza-msg-serde" class="property">
+ streams.<span class="stream">stream-id</span>.samza.msg.serde</a>.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="systems-samza-offset-default-legacy">systems.<span class="system">system-name</span>.<br>samza.offset.default</td>
+ <td class="default" rowspan="2">upcoming</td>
+ <td class="description">
+ This is deprecated in favor of <a href="#systems-samza-offset-default" class="property">
+ systems.<span class="system">system-name</span>.default.stream.samza.offset.default</a>.
</td>
</tr>
<tr>
<td class="property">systems.<span class="system">system-name</span>.<br>streams.<span class="stream">stream-name</span>.<br>samza.offset.default</td>
+ <td class="description">
+ This is deprecated in favor of <a href="#streams-samza-offset-default" class="property">
+ streams.<span class="stream">stream-id</span>.samza.offset.default</a>.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="systems-streams-samza-reset-offset-legacy">systems.<span class="system">system-name</span>.<br>streams.<span class="stream">stream-name</span>.<br>samza.reset.offset</td>
+ <td>false</td>
+ <td>
+ This is deprecated in favor of <a href="#streams-samza-reset-offset" class="property">
+ streams.<span class="stream">stream-id</span>.samza.reset.offset</a>.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="systems-streams-samza-priority-legacy">systems.<span class="system">system-name</span>.<br>streams.<span class="stream">stream-name</span>.<br>samza.priority</td>
+ <td>-1</td>
+ <td>
+ This is deprecated in favor of <a href="#streams-samza-priority" class="property">
+ streams.<span class="stream">stream-id</span>.samza.priority</a>.
+ </td>
</tr>
<tr>
- <td class="property" id="systems-streams-samza-reset-offset">systems.<span class="system">system-name</span>.<br>streams.<span class="stream">stream-name</span>.<br>samza.reset.offset</td>
+ <td class="property" id="systems-streams-samza-bootstrap-legacy">systems.<span class="system">system-name</span>.<br>streams.<span class="stream">stream-name</span>.<br>samza.bootstrap</td>
<td>false</td>
<td>
+ This is deprecated in favor of <a href="#streams-samza-bootstrap" class="property">
+ streams.<span class="stream">stream-id</span>.samza.bootstrap</a>.
+ </td>
+ </tr>
+
+ <tr>
+ <th colspan="3" class="section" id="streams"><a href="../container/streams.html">Streams</a></th>
+ </tr>
+
+ <tr>
+ <td class="property" id="streams-system">streams.<span class="stream">stream-id</span>.<br>samza.system</td>
+ <td class="default"></td>
+ <td class="description">
+ The <span class="system">system-name</span> of the system on which this stream will be accessed.
+ This property binds the stream to one of the systems defined with the property
+ systems.<span class="system">system-name</span>.samza.factory. <br>
+ If this property isn't specified, it is inherited from job.default.system.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="streams-physical-name">streams.<span class="stream">stream-id</span>.<br>samza.physical.name</td>
+ <td class="default"></td>
+ <td class="description">
+ The physical name of the stream on the system on which this stream will be accessed.
+ This is opposed to the stream-id which is the logical name that Samza uses to identify the stream.
+ A physical name could be a Kafka topic name, an HDFS file URN or any other system-specific identifier.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="streams-samza-key-serde">streams.<span class="stream">stream-id</span>.<br>samza.key.serde</td>
+ <td class="default"></td>
+ <td class="description">
+ The <a href="../container/serialization.html">serde</a> which will be used to deserialize the
+ <em>key</em> of messages on input streams, and to serialize the <em>key</em> of messages on
+ output streams. This property defines the serde for an individual stream. See the
+ <a href="#systems-samza-key-serde">system-scoped property</a> to define the serde for all
+ streams within a system. If both are defined, the stream-level definition takes precedence.
+ The value of this property must be a <span class="serde">serde-name</span> that is registered
+ with <a href="#serializers-registry-class" class="property">serializers.registry.*.class</a>.
+ If this property is not set, messages are passed unmodified between the input stream consumer,
+ the task and the output stream producer.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="streams-samza-msg-serde">streams.<span class="stream">stream-id</span>.<br>samza.msg.serde</td>
+ <td class="default"></td>
+ <td class="description">
+ The <a href="../container/serialization.html">serde</a> which will be used to deserialize the
+ <em>value</em> of messages on input streams, and to serialize the <em>value</em> of messages on
+ output streams. This property defines the serde for an individual stream. See the
+ <a href="#systems-samza-msg-serde">system-scoped property</a> to define the serde for all
+ streams within a system. If both are defined, the stream-level definition takes precedence.
+ The value of this property must be a <span class="serde">serde-name</span> that is registered
+ with <a href="#serializers-registry-class" class="property">serializers.registry.*.class</a>.
+ If this property is not set, messages are passed unmodified between the input stream consumer,
+ the task and the output stream producer.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="streams-samza-offset-default">streams.<span class="stream">stream-id</span>.<br>samza.offset.default</td>
+ <td class="default">upcoming</td>
+ <td class="description">
+ If a container starts up without a <a href="../container/checkpointing.html">checkpoint</a>,
+ this property determines where in the input stream we should start consuming. The value must be an
+ <a href="../api/javadocs/org/apache/samza/system/SystemStreamMetadata.OffsetType.html">OffsetType</a>,
+ one of the following:
+ <dl>
+ <dt><code>upcoming</code></dt>
+ <dd>Start processing messages that are published after the job starts. Any messages published while
+ the job was not running are not processed.</dd>
+ <dt><code>oldest</code></dt>
+ <dd>Start processing at the oldest available message in the system, and
+ <a href="reprocessing.html">reprocess</a> the entire available message history.</dd>
+ </dl>
+ This property is for an individual stream. To set it for all streams within a system, see
+ <a href="#systems-samza-offset-default">systems.<span class="system">system-name</span>.<br>samza.offset.default</a>
+ If both are defined, the stream-level definition takes precedence.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="streams-samza-reset-offset">streams.<span class="stream">stream-id</span>.<br>samza.reset.offset</td>
+ <td class="default">false</td>
+ <td class="description">
If set to <code>true</code>, when a Samza container starts up, it ignores any
<a href="../container/checkpointing.html">checkpointed offset</a> for this particular input
stream. Its behavior is thus determined by the <code>samza.offset.default</code> setting.
@@ -787,9 +1024,9 @@
</tr>
<tr>
- <td class="property" id="systems-streams-samza-priority">systems.<span class="system">system-name</span>.<br>streams.<span class="stream">stream-name</span>.<br>samza.priority</td>
- <td>-1</td>
- <td>
+ <td class="property" id="streams-samza-priority">streams.<span class="stream">stream-id</span>.<br>samza.priority</td>
+ <td class="default">-1</td>
+ <td class="description">
If one or more streams have a priority set (any positive integer), they will be processed
with <a href="../container/streams.html#prioritizing-input-streams">higher priority</a> than the other streams.
You can set several streams to the same priority, or define multiple priority levels by
@@ -800,9 +1037,9 @@
</tr>
<tr>
- <td class="property" id="systems-streams-samza-bootstrap">systems.<span class="system">system-name</span>.<br>streams.<span class="stream">stream-name</span>.<br>samza.bootstrap</td>
- <td>false</td>
- <td>
+ <td class="property" id="streams-samza-bootstrap">streams.<span class="stream">stream-id</span>.<br>samza.bootstrap</td>
+ <td class="default">false</td>
+ <td class="description">
If set to <code>true</code>, this stream will be processed as a
<a href="../container/streams.html#bootstrapping">bootstrap stream</a>. This means that every time
a Samza container starts up, this stream will be fully consumed before messages from any
@@ -811,13 +1048,12 @@
</tr>
<tr>
- <td class="property" id="task-consumer-batch-size">task.consumer.batch.size</td>
- <td>1</td>
- <td>
- If set to a positive integer, the task will try to consume
- <a href="../container/streams.html#batching">batches</a> with the given number of messages
- from each input stream, rather than consuming round-robin from all the input streams on
- each individual message. Setting this property can improve performance in some cases.
+ <td class="property" id="streams-properties">streams.<span class="stream">stream-id</span>.*</td>
+ <td class="default"></td>
+ <td class="description">
+ Any properties of the stream. These are typically system-specific and can be used by the system
+ for stream creation or validation. Note that the other properties are prefixed with <em>samza.</em>
+ which distinguishes them as Samza properties that are not system-specific.
</td>
</tr>
@@ -835,6 +1071,8 @@
<span class="serde">serde-name</span> you want, and reference that name in properties like
<a href="#systems-samza-key-serde" class="property">systems.*.samza.key.serde</a>,
<a href="#systems-samza-msg-serde" class="property">systems.*.samza.msg.serde</a>,
+ <a href="#streams-samza-key-serde" class="property">streams.*.samza.key.serde</a>,
+ <a href="#streams-samza-msg-serde" class="property">streams.*.samza.msg.serde</a>,
<a href="#stores-key-serde" class="property">stores.*.key.serde</a> and
<a href="#stores-msg-serde" class="property">stores.*.msg.serde</a>.
The value of this property is the fully-qualified name of a Java class that implements
@@ -1160,13 +1398,21 @@
<tr>
<td class="property" id="store-changelog-replication-factor">stores.<span class="store">store-name</span>.changelog.<br>replication.factor</td>
- <td class="default">2</td>
+ <td class="default">stores.default.changelog.replication.factor</td>
<td class="description">
The property defines the number of replicas to use for the change log stream.
</td>
</tr>
<tr>
+ <td class="property" id="store-default-changelog-replication-factor">stores.default.changelog.replication.factor</td>
+ <td class="default">2</td>
+ <td class="description">
+ This property defines the default number of replicas to use for the change log stream.
+ </td>
+ </tr>
+
+ <tr>
<td class="property" id="store-changelog-partitions">stores.<span class="store">store-name</span>.changelog.<br>kafka.topic-level-property</td>
<td class="default"></td>
<td class="description">
@@ -1231,8 +1477,9 @@
<td class="description">
This property defines a store, Samza's mechanism for efficient
<a href="../container/state-management.html">stateful stream processing</a>. You can give a
- store any <span class="store">store-name</span>, and use that name to get a reference to the
- store in your stream task (call
+ store any <span class="store">store-name</span> except <em>default</em> (the <span class="store">store-name</span>
+ <em>default</em> is reserved for defining default store parameters), and use that name to get a
+ reference to the store in your stream task (call
<a href="../api/javadocs/org/apache/samza/task/TaskContext.html#getStore(java.lang.String)">TaskContext.getStore()</a>
in your task's
<a href="../api/javadocs/org/apache/samza/task/InitableTask.html#init(org.apache.samza.config.Config, org.apache.samza.task.TaskContext)">init()</a>
@@ -1445,7 +1692,7 @@
</tr>
<tr>
- <td class="property" id="cluster-manager-container-memory-mb">cluster-manager.container.memory.mb</td>
+ <td class="property" id="cluster-manager-container-memory-mb">cluster-manager.container.<br>memory.mb</td>
<td class="default">1024</td>
<td class="description">
How much memory, in megabytes, to request from the cluster manager per container of your job. Along with
@@ -1461,7 +1708,7 @@
</tr>
<tr>
- <td class="property" id="cluster-manager-container-cpu-cores">cluster-manager.container.cpu.cores</td>
+ <td class="property" id="cluster-manager-container-cpu-cores">cluster-manager.container.<br>cpu.cores</td>
<td class="default">1</td>
<td class="description">
The number of CPU cores to request per container of your job. Each node in the
@@ -1501,7 +1748,7 @@
</tr>
<tr>
- <td class="property" id="cluster-manager-jmx-enabled">cluster-manager.jobcoordinator.jmx.enabled</td>
+ <td class="property" id="cluster-manager-jmx-enabled">cluster-manager.jobcoordinator.<br>jmx.enabled</td>
<td class="default">true</td>
<td class="description">
Determines whether a JMX server should be started on the job's JobCoordinator.
@@ -1510,7 +1757,7 @@
</tr>
<tr>
- <td class="property" id="cluster-manager-allocator-sleep-ms">cluster-manager.allocator.sleep.ms</td>
+ <td class="property" id="cluster-manager-allocator-sleep-ms">cluster-manager.allocator.<br>sleep.ms</td>
<td class="default">3600</td>
<td class="description">
The container allocator thread is responsible for matching requests to allocated containers.
@@ -1519,7 +1766,7 @@
</tr>
<tr>
- <td class="property" id="cluster-manager-container-request-timeout-ms">cluster-manager.container.request.timeout.ms</td>
+ <td class="property" id="cluster-manager-container-request-timeout-ms">cluster-manager.container.<br>request.timeout.ms</td>
<td class="default">5000</td>
<td class="description">
The allocator thread periodically checks the state of the container requests and allocated containers to determine the assignment of a container to an allocated resource.
@@ -1701,6 +1948,42 @@
</tr>
<tr>
+ <td class="property" id="yarn-resources-resource-name-path">yarn.resources.<span class="resource">resource-name</span>.path</td>
+ <td class="default"></td>
+ <td class="description">
+ The path for localizing the resource for <span class="resource">resource-name</span>. The scheme (e.g. http, ftp, hdsf, file, etc) in the path should be configured in YARN core-site.xml as fs.<scheme>.impl and is associated with a <a href="https://hadoop.apache.org/docs/stable/api/index.html?org/apache/hadoop/fs/FileSystem.html">FileSystem</a>.
+ If defined, the resource will be localized in the Samza application directory before the Samza job runs. More details can be found <a href="../yarn/yarn-resource-localization.html">here</a>.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="yarn-resources-resource-name-local-name">yarn.resources.<span class="resource">resource-name</span>.local.name</td>
+ <td class="default"><span class="resource">resource-name</span></td>
+ <td class="description">
+ The new local name for the resource after localization.
+ This configuration only applies when yarn.resources.<span class="resource">resource-name</span>.path is configured.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="yarn-resources-resource-name-local-type">yarn.resources.<span class="resource">resource-name</span>.local.type</td>
+ <td class="default">FILE</td>
+ <td class="description">
+ The type for the resource after localization. It can be ARCHIVE (archived directory), FILE, or PATTERN (the entries extracted from the archive with the pattern).
+ This configuration only applies when yarn.resources.<span class="resource">resource-name</span>.path is configured.
+ </td>
+ </tr>
+
+ <tr>
+ <td class="property" id="yarn-resources-resource-name-local-visibility">yarn.resources.<span class="resource">resource-name</span>.local.visibility</td>
+ <td class="default">APPLICATION</td>
+ <td class="description">
+ The visibility for the resource after localization. It can be PUBLIC (visible to everyone), PRIVATE (visible to all Samza applications of the same account user as this application), or APPLICATION (visible to only this Samza application).
+ This configuration only applies when yarn.resources.<span class="resource">resource-name</span>.path is configured.
+ </td>
+ </tr>
+
+ <tr>
<th colspan="3" class="section" id="metrics"><a href="../container/metrics.html">Metrics</a></th>
</tr>
@@ -1758,10 +2041,9 @@
<a href="../container/metrics.html">JSON encoding</a> for metrics; in order to use this
encoding, you also need to configure a serde for the metrics stream:
<ul>
- <li><a href="#systems-samza-msg-serde" class="property">systems.*.streams.*.samza.msg.serde</a>
- <code>= metrics-serde</code> (replacing the asterisks with the
- <span class="system">system-name</span> and <span class="stream">stream-name</span>
- of the metrics stream)</li>
+ <li><a href="#systems-samza-msg-serde" class="property">streams.*.samza.msg.serde</a>
+ <code>= metrics-serde</code> (replacing the asterisk with the
+ <span class="stream">stream-name</span> of the metrics stream)</li>
<li><a href="#serializers-registry-class" class="property">serializers.registry.metrics-serde.class</a>
<code>= org.apache.samza.serializers.MetricsSnapshotSerdeFactory</code>
(registering the serde under a <span class="serde">serde-name</span> of
@@ -1789,37 +2071,37 @@
</tr>
<tr>
- <td class="property" id="hdfs-writer-class">systems.*.producer.hdfs.writer.class</td>
- <td class="default">org.apache.samza.system.hdfs.writer.BinarySequenceFileHdfsWriter</td>
+ <td class="property" id="hdfs-writer-class">systems.<span class="system">system-name</span>.<br>.producer.hdfs.writer.class</td>
+ <td class="default">org.apache.samza.system.hdfs.<br>writer.BinarySequenceFileHdfsWriter</td>
<td class="description">Fully-qualified class name of the HdfsWriter implementation this HDFS Producer system should use</td>
</tr>
<tr>
- <td class="property" id="hdfs-compression-type">systems.*.producer.hdfs.compression.type</td>
+ <td class="property" id="hdfs-compression-type">systems.<span class="system">system-name</span>.<br>.producer.hdfs.compression.type</td>
<td class="default">none</td>
<td class="description">A human-readable label for the compression type to use, such as "gzip" "snappy" etc. This label will be interpreted differently (or ignored) depending on the nature of the HdfsWriter implementation.</td>
</tr>
<tr>
- <td class="property" id="hdfs-base-output-dir">systems.*.producer.hdfs.base.output.dir</td>
+ <td class="property" id="hdfs-base-output-dir">systems.<span class="system">system-name</span>.<br>.producer.hdfs.base.output.dir</td>
<td class="default">/user/USERNAME/SYSTEMNAME</td>
<td class="description">The base output directory for HDFS writes. Defaults to the home directory of the user who ran the job, followed by the systemName for this HdfsSystemProducer as defined in the job.properties file.</td>
</tr>
<tr>
- <td class="property" id="hdfs-bucketer-class">systems.*.producer.hdfs.bucketer.class</td>
- <td class="default">org.apache.samza.system.hdfs.writer.JobNameDateTimeBucketer</td>
+ <td class="property" id="hdfs-bucketer-class">systems.<span class="system">system-name</span>.<br>.producer.hdfs.bucketer.class</td>
+ <td class="default">org.apache.samza.system.hdfs.<br>writer.JobNameDateTimeBucketer</td>
<td class="description">Fully-qualified class name of the Bucketer implementation that will manage HDFS paths and file names. Used to batch writes by time, or other similar partitioning methods.</td>
</tr>
<tr>
- <td class="property" id="hdfs-bucketer-date-path-format">systems.*.producer.hdfs.bucketer.date.path.format</td>
+ <td class="property" id="hdfs-bucketer-date-path-format">systems.<span class="system">system-name</span>.<br>.producer.hdfs.bucketer.date.path.format</td>
<td class="default"yyyy_MM_dd></td>
<td class="description">A date format (using Java's SimpleDataFormat syntax) appropriate for use in an HDFS Path, which can configure time-based bucketing of output files.</td>
</tr>
<tr>
- <td class="property" id="hdfs-write-batch-size-bytes">systems.*.producer.hdfs.write.batch.size.bytes</td>
+ <td class="property" id="hdfs-write-batch-size-bytes">systems.<span class="system">system-name</span>.<br>.producer.hdfs.write.batch.size.bytes</td>
<td class="default">268435456</td>
<td class="description">The number of bytes of outgoing messages to write to each HDFS output file before cutting a new file. Defaults to 256MB if not set.</td>
</tr>
<tr>
- <td class="property" id="hdfs-write-batch-size-records">systems.*.producer.hdfs.write.batch.size.records</td>
+ <td class="property" id="hdfs-write-batch-size-records">systems.<span class="system">system-name</span>.<br>.producer.hdfs.write.batch.size.records</td>
<td class="default">262144</td>
<td class="description">The number of outgoing messages to write to each HDFS output file before cutting a new file. Defaults to 262144 if not set.</td>
</tr>
@@ -1829,63 +2111,40 @@
</tr>
<tr>
- <td class="property" id="hdfs-consumer-buffer-capacity">systems.*.consumer.bufferCapacity</td>
+ <td class="property" id="hdfs-consumer-buffer-capacity">systems.<span class="system">system-name</span>.<br>.consumer.bufferCapacity</td>
<td class="default">10</td>
<td class="description">Capacity of the hdfs consumer buffer - the blocking queue used for storing messages. Larger buffer capacity typically leads to better throughput but consumes more memory.</td>
</tr>
<tr>
- <td class="property" id="hdfs-consumer-numMaxRetries">systems.*.consumer.numMaxRetries</td>
+ <td class="property" id="hdfs-consumer-numMaxRetries">systems.<span class="system">system-name</span>.<br>.consumer.numMaxRetries</td>
<td class="default">10</td>
<td class="description">The number of retry attempts when there is a failure to fetch messages from HDFS, before the container fails.</td>
</tr>
<tr>
- <td class="property" id="hdfs-partitioner-whitelist">systems.*.partitioner.defaultPartitioner.whitelist</td>
+ <td class="property" id="hdfs-partitioner-whitelist">systems.<span class="system">system-name</span>.<br>.partitioner.defaultPartitioner.whitelist</td>
<td class="default">.*</td>
<td class="description">White list used by directory partitioner to select files in a hdfs directory, in Java Pattern style.</td>
</tr>
<tr>
- <td class="property" id="hdfs-partitioner-blacklist">systems.*.partitioner.defaultPartitioner.blacklist</td>
+ <td class="property" id="hdfs-partitioner-blacklist">systems.<span class="system">system-name</span>.<br>.partitioner.defaultPartitioner.blacklist</td>
<td class="default"></td>
<td class="description">Black list used by directory partitioner to filter out unwanted files in a hdfs directory, in Java Pattern style.</td>
</tr>
<tr>
- <td class="property" id="hdfs-partitioner-group-pattern">systems.*.partitioner.defaultPartitioner.groupPattern</td>
+ <td class="property" id="hdfs-partitioner-group-pattern">systems.<span class="system">system-name</span>.<br>.partitioner.defaultPartitioner.groupPattern</td>
<td class="default"></td>
<td class="description">Group pattern used by directory partitioner for advanced partitioning. The advanced partitioning goes beyond the basic assumption that each file is a partition. With advanced partitioning you can group files into partitions arbitrarily. For example, if you have a set of files as [part-01-a.avro, part-01-b.avro, part-02-a.avro, part-02-b.avro, part-03-a.avro], and you want to organize the partitions as (part-01-a.avro, part-01-b.avro), (part-02-a.avro, part-02-b.avro), (part-03-a.avro), where the numbers in the middle act as a "group identifier", you can then set this property to be "part-[id]-.*" (note that "[id]" is a reserved term here, i.e. you have to literally put it as "[id]"). The partitioner will apply this pattern to all file names and extract the "group identifier" ("[id]" in the pattern), then use the "group identifier" to group files into partitions. See more details in <a href="https://issues.apache.org/jira/secure/attachment/
12827670/HDFSSystemConsumer.pdf">HdfsSystemConsumer design doc</a> </td>
</tr>
<tr>
- <td class="property" id="hdfs-consumer-reader-type">systems.*.consumer.reader</td>
+ <td class="property" id="hdfs-consumer-reader-type">systems.<span class="system">system-name</span>.<br>.consumer.reader</td>
<td class="default">avro</td>
<td class="description">Type of the file reader for different event formats (avro, plain, json, etc.). "avro" is only type supported for now.</td>
</tr>
<tr>
- <td class="property" id="hdfs-staging-directory">systems.*.stagingDirectory</td>
+ <td class="property" id="hdfs-staging-directory">systems.<span class="system">system-name</span>.<br>.stagingDirectory</td>
<td class="default"></td>
<td class="description">Staging directory for storing partition description. By default (if not set by users) the value is inherited from "yarn.job.staging.directory" internally. The default value is typically good enough unless you want explicitly use a separate location.</td>
</tr>
-
- <tr>
- <th colspan="3" class="section" id="task-migration">
- Migrating from Samza 0.9.1 to 0.10.0<br>
- <span class="subtitle">
- (This section applies if you are upgrading from Samza 0.9.1 to 0.10.0 and have set
- <a href="#task-checkpoint-factory" class="property">task.checkpoint.factory</a> to anything <b> other than </b>
- <code>org.apache.samza.checkpoint.file.FileSystemCheckpointManagerFactory</code>)
- </span>
- </th>
- </tr>
-
- <tr>
- <td class="property" id="task-checkpoint-skip-migration">task.checkpoint.skip-migration</td>
- <td class="default">false</td>
- <td class="description">
- When migrating from 0.9.1 to 0.10.0, the taskName-to-changelog partition mapping was moved from the checkpoint stream to the coordinator stream. <br />
- If you are using a checkpoint manager other than kafka
- (<code>org.apache.samza.checkpoint.kafka.KafkaCheckpointManagerFactory</code>), you have to
- manually migrate taskName-to-changelog partition mapping to the coordinator stream. <br />
- This can be achieved with the assistance of the <code>checkpoint-tool.sh</code>.
- </td>
- </tr>
</tbody>
</table>
</body>
Modified: samza/site/learn/documentation/latest/jobs/configuration.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/jobs/configuration.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/jobs/configuration.html (original)
+++ samza/site/learn/documentation/latest/jobs/configuration.html Fri Jun 9 18:46:20 2017
@@ -46,7 +46,7 @@
- <a href="http://samza.apache.org/learn/documentation/0.12/jobs/configuration.html"><i id="switch-version-button"></i></a>
+ <a href="http://samza.apache.org/learn/documentation/0.13/jobs/configuration.html"><i id="switch-version-button"></i></a>
<!-- links for the navigation bar -->
@@ -61,6 +61,7 @@
<ul>
<li><a href="/startup/hello-samza/latest">Hello Samza</a></li>
<li><a href="/startup/download">Download</a></li>
+ <li><a href="/startup/preview">Feature Preview</a></li>
</ul>
<h1><i class="fa fa-book"></i> Learn</h1>
@@ -98,6 +99,7 @@
<h1><i class="fa fa-history"></i> Archive</h1>
<ul>
<li><a href="/archive/index.html#latest">latest</a></li>
+ <li><a href="/archive/index.html#13">0.13</a></li>
<li><a href="/archive/index.html#12">0.12</a></li>
<li><a href="/archive/index.html#11">0.11</a></li>
<li><a href="/archive/index.html#10">0.10</a></li>
@@ -208,7 +210,7 @@ encryption is done.</p>
<script>
$( document ).ready(function() {
- if ( $.fn.urlExists( "/learn/documentation/0.12/jobs/configuration.html" ) ) {
+ if ( $.fn.urlExists( "/learn/documentation/0.13/jobs/configuration.html" ) ) {
$("#switch-version-button").addClass("fa fa-history masthead-icon");
}
});
Modified: samza/site/learn/documentation/latest/jobs/job-runner.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/jobs/job-runner.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/jobs/job-runner.html (original)
+++ samza/site/learn/documentation/latest/jobs/job-runner.html Fri Jun 9 18:46:20 2017
@@ -46,7 +46,7 @@
- <a href="http://samza.apache.org/learn/documentation/0.12/jobs/job-runner.html"><i id="switch-version-button"></i></a>
+ <a href="http://samza.apache.org/learn/documentation/0.13/jobs/job-runner.html"><i id="switch-version-button"></i></a>
<!-- links for the navigation bar -->
@@ -61,6 +61,7 @@
<ul>
<li><a href="/startup/hello-samza/latest">Hello Samza</a></li>
<li><a href="/startup/download">Download</a></li>
+ <li><a href="/startup/preview">Feature Preview</a></li>
</ul>
<h1><i class="fa fa-book"></i> Learn</h1>
@@ -98,6 +99,7 @@
<h1><i class="fa fa-history"></i> Archive</h1>
<ul>
<li><a href="/archive/index.html#latest">latest</a></li>
+ <li><a href="/archive/index.html#13">0.13</a></li>
<li><a href="/archive/index.html#12">0.12</a></li>
<li><a href="/archive/index.html#11">0.11</a></li>
<li><a href="/archive/index.html#10">0.10</a></li>
@@ -194,7 +196,7 @@
<script>
$( document ).ready(function() {
- if ( $.fn.urlExists( "/learn/documentation/0.12/jobs/job-runner.html" ) ) {
+ if ( $.fn.urlExists( "/learn/documentation/0.13/jobs/job-runner.html" ) ) {
$("#switch-version-button").addClass("fa fa-history masthead-icon");
}
});
Modified: samza/site/learn/documentation/latest/jobs/logging.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/jobs/logging.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/jobs/logging.html (original)
+++ samza/site/learn/documentation/latest/jobs/logging.html Fri Jun 9 18:46:20 2017
@@ -46,7 +46,7 @@
- <a href="http://samza.apache.org/learn/documentation/0.12/jobs/logging.html"><i id="switch-version-button"></i></a>
+ <a href="http://samza.apache.org/learn/documentation/0.13/jobs/logging.html"><i id="switch-version-button"></i></a>
<!-- links for the navigation bar -->
@@ -61,6 +61,7 @@
<ul>
<li><a href="/startup/hello-samza/latest">Hello Samza</a></li>
<li><a href="/startup/download">Download</a></li>
+ <li><a href="/startup/preview">Feature Preview</a></li>
</ul>
<h1><i class="fa fa-book"></i> Learn</h1>
@@ -98,6 +99,7 @@
<h1><i class="fa fa-history"></i> Archive</h1>
<ul>
<li><a href="/archive/index.html#latest">latest</a></li>
+ <li><a href="/archive/index.html#13">0.13</a></li>
<li><a href="/archive/index.html#12">0.12</a></li>
<li><a href="/archive/index.html#11">0.11</a></li>
<li><a href="/archive/index.html#10">0.10</a></li>
@@ -242,6 +244,11 @@
<div class="highlight"><pre><code class="xml">task.log4j.system="<span class="nt"><system-name></span>"</code></pre></div>
+<p>The default stream name for logger is generated using the following convention, though you can override it using the <code>StreamName</code> property in the log4j.xml as shown above.
+<code>java
+"__samza_%s_%s_logs" format (jobName.replaceAll("_", "-"), jobId.replaceAll("_", "-"))
+</code></p>
+
<p>Configuring the StreamAppender will automatically encode messages using logstash’s <a href="https://github.com/logstash/log4j-jsonevent-layout">Log4J JSON format</a>. Samza also supports pluggable serialization for those that prefer non-JSON logging events. This can be configured the same way other stream serializers are defined:</p>
<div class="highlight"><pre><code class="jproperties"><span class="na">serializers.registry.log4j-string.class</span><span class="o">=</span><span class="s">org.apache.samza.logging.log4j.serializers.LoggingEventStringSerdeFactory</span>
@@ -291,7 +298,7 @@
<script>
$( document ).ready(function() {
- if ( $.fn.urlExists( "/learn/documentation/0.12/jobs/logging.html" ) ) {
+ if ( $.fn.urlExists( "/learn/documentation/0.13/jobs/logging.html" ) ) {
$("#switch-version-button").addClass("fa fa-history masthead-icon");
}
});
Modified: samza/site/learn/documentation/latest/jobs/packaging.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/jobs/packaging.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/jobs/packaging.html (original)
+++ samza/site/learn/documentation/latest/jobs/packaging.html Fri Jun 9 18:46:20 2017
@@ -46,7 +46,7 @@
- <a href="http://samza.apache.org/learn/documentation/0.12/jobs/packaging.html"><i id="switch-version-button"></i></a>
+ <a href="http://samza.apache.org/learn/documentation/0.13/jobs/packaging.html"><i id="switch-version-button"></i></a>
<!-- links for the navigation bar -->
@@ -61,6 +61,7 @@
<ul>
<li><a href="/startup/hello-samza/latest">Hello Samza</a></li>
<li><a href="/startup/download">Download</a></li>
+ <li><a href="/startup/preview">Feature Preview</a></li>
</ul>
<h1><i class="fa fa-book"></i> Learn</h1>
@@ -98,6 +99,7 @@
<h1><i class="fa fa-history"></i> Archive</h1>
<ul>
<li><a href="/archive/index.html#latest">latest</a></li>
+ <li><a href="/archive/index.html#13">0.13</a></li>
<li><a href="/archive/index.html#12">0.12</a></li>
<li><a href="/archive/index.html#11">0.11</a></li>
<li><a href="/archive/index.html#10">0.10</a></li>
@@ -181,7 +183,7 @@ lib/*.jar
<script>
$( document ).ready(function() {
- if ( $.fn.urlExists( "/learn/documentation/0.12/jobs/packaging.html" ) ) {
+ if ( $.fn.urlExists( "/learn/documentation/0.13/jobs/packaging.html" ) ) {
$("#switch-version-button").addClass("fa fa-history masthead-icon");
}
});
Modified: samza/site/learn/documentation/latest/jobs/reprocessing.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/jobs/reprocessing.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/jobs/reprocessing.html (original)
+++ samza/site/learn/documentation/latest/jobs/reprocessing.html Fri Jun 9 18:46:20 2017
@@ -46,7 +46,7 @@
- <a href="http://samza.apache.org/learn/documentation/0.12/jobs/reprocessing.html"><i id="switch-version-button"></i></a>
+ <a href="http://samza.apache.org/learn/documentation/0.13/jobs/reprocessing.html"><i id="switch-version-button"></i></a>
<!-- links for the navigation bar -->
@@ -61,6 +61,7 @@
<ul>
<li><a href="/startup/hello-samza/latest">Hello Samza</a></li>
<li><a href="/startup/download">Download</a></li>
+ <li><a href="/startup/preview">Feature Preview</a></li>
</ul>
<h1><i class="fa fa-book"></i> Learn</h1>
@@ -98,6 +99,7 @@
<h1><i class="fa fa-history"></i> Archive</h1>
<ul>
<li><a href="/archive/index.html#latest">latest</a></li>
+ <li><a href="/archive/index.html#13">0.13</a></li>
<li><a href="/archive/index.html#12">0.12</a></li>
<li><a href="/archive/index.html#11">0.11</a></li>
<li><a href="/archive/index.html#10">0.10</a></li>
@@ -232,7 +234,7 @@
<script>
$( document ).ready(function() {
- if ( $.fn.urlExists( "/learn/documentation/0.12/jobs/reprocessing.html" ) ) {
+ if ( $.fn.urlExists( "/learn/documentation/0.13/jobs/reprocessing.html" ) ) {
$("#switch-version-button").addClass("fa fa-history masthead-icon");
}
});
Modified: samza/site/learn/documentation/latest/jobs/split-deployment.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/jobs/split-deployment.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/jobs/split-deployment.html (original)
+++ samza/site/learn/documentation/latest/jobs/split-deployment.html Fri Jun 9 18:46:20 2017
@@ -46,7 +46,7 @@
- <a href="http://samza.apache.org/learn/documentation/0.12/jobs/split-deployment.html"><i id="switch-version-button"></i></a>
+ <a href="http://samza.apache.org/learn/documentation/0.13/jobs/split-deployment.html"><i id="switch-version-button"></i></a>
<!-- links for the navigation bar -->
@@ -61,6 +61,7 @@
<ul>
<li><a href="/startup/hello-samza/latest">Hello Samza</a></li>
<li><a href="/startup/download">Download</a></li>
+ <li><a href="/startup/preview">Feature Preview</a></li>
</ul>
<h1><i class="fa fa-book"></i> Learn</h1>
@@ -98,6 +99,7 @@
<h1><i class="fa fa-history"></i> Archive</h1>
<ul>
<li><a href="/archive/index.html#latest">latest</a></li>
+ <li><a href="/archive/index.html#13">0.13</a></li>
<li><a href="/archive/index.html#12">0.12</a></li>
<li><a href="/archive/index.html#11">0.11</a></li>
<li><a href="/archive/index.html#10">0.10</a></li>
@@ -211,7 +213,7 @@ In this case Samza will pick ‘/&he
<script>
$( document ).ready(function() {
- if ( $.fn.urlExists( "/learn/documentation/0.12/jobs/split-deployment.html" ) ) {
+ if ( $.fn.urlExists( "/learn/documentation/0.13/jobs/split-deployment.html" ) ) {
$("#switch-version-button").addClass("fa fa-history masthead-icon");
}
});
Modified: samza/site/learn/documentation/latest/jobs/web-ui-rest-api.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/jobs/web-ui-rest-api.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/jobs/web-ui-rest-api.html (original)
+++ samza/site/learn/documentation/latest/jobs/web-ui-rest-api.html Fri Jun 9 18:46:20 2017
@@ -46,7 +46,7 @@
- <a href="http://samza.apache.org/learn/documentation/0.12/jobs/web-ui-rest-api.html"><i id="switch-version-button"></i></a>
+ <a href="http://samza.apache.org/learn/documentation/0.13/jobs/web-ui-rest-api.html"><i id="switch-version-button"></i></a>
<!-- links for the navigation bar -->
@@ -61,6 +61,7 @@
<ul>
<li><a href="/startup/hello-samza/latest">Hello Samza</a></li>
<li><a href="/startup/download">Download</a></li>
+ <li><a href="/startup/preview">Feature Preview</a></li>
</ul>
<h1><i class="fa fa-book"></i> Learn</h1>
@@ -98,6 +99,7 @@
<h1><i class="fa fa-history"></i> Archive</h1>
<ul>
<li><a href="/archive/index.html#latest">latest</a></li>
+ <li><a href="/archive/index.html#13">0.13</a></li>
<li><a href="/archive/index.html#12">0.12</a></li>
<li><a href="/archive/index.html#11">0.11</a></li>
<li><a href="/archive/index.html#10">0.10</a></li>
@@ -204,7 +206,7 @@
<script>
$( document ).ready(function() {
- if ( $.fn.urlExists( "/learn/documentation/0.12/jobs/web-ui-rest-api.html" ) ) {
+ if ( $.fn.urlExists( "/learn/documentation/0.13/jobs/web-ui-rest-api.html" ) ) {
$("#switch-version-button").addClass("fa fa-history masthead-icon");
}
});
Modified: samza/site/learn/documentation/latest/jobs/yarn-jobs.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/jobs/yarn-jobs.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/jobs/yarn-jobs.html (original)
+++ samza/site/learn/documentation/latest/jobs/yarn-jobs.html Fri Jun 9 18:46:20 2017
@@ -46,7 +46,7 @@
- <a href="http://samza.apache.org/learn/documentation/0.12/jobs/yarn-jobs.html"><i id="switch-version-button"></i></a>
+ <a href="http://samza.apache.org/learn/documentation/0.13/jobs/yarn-jobs.html"><i id="switch-version-button"></i></a>
<!-- links for the navigation bar -->
@@ -61,6 +61,7 @@
<ul>
<li><a href="/startup/hello-samza/latest">Hello Samza</a></li>
<li><a href="/startup/download">Download</a></li>
+ <li><a href="/startup/preview">Feature Preview</a></li>
</ul>
<h1><i class="fa fa-book"></i> Learn</h1>
@@ -98,6 +99,7 @@
<h1><i class="fa fa-history"></i> Archive</h1>
<ul>
<li><a href="/archive/index.html#latest">latest</a></li>
+ <li><a href="/archive/index.html#13">0.13</a></li>
<li><a href="/archive/index.html#12">0.12</a></li>
<li><a href="/archive/index.html#11">0.11</a></li>
<li><a href="/archive/index.html#10">0.10</a></li>
@@ -178,7 +180,7 @@
<script>
$( document ).ready(function() {
- if ( $.fn.urlExists( "/learn/documentation/0.12/jobs/yarn-jobs.html" ) ) {
+ if ( $.fn.urlExists( "/learn/documentation/0.13/jobs/yarn-jobs.html" ) ) {
$("#switch-version-button").addClass("fa fa-history masthead-icon");
}
});
Modified: samza/site/learn/documentation/latest/operations/kafka.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/operations/kafka.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/operations/kafka.html (original)
+++ samza/site/learn/documentation/latest/operations/kafka.html Fri Jun 9 18:46:20 2017
@@ -46,7 +46,7 @@
- <a href="http://samza.apache.org/learn/documentation/0.12/operations/kafka.html"><i id="switch-version-button"></i></a>
+ <a href="http://samza.apache.org/learn/documentation/0.13/operations/kafka.html"><i id="switch-version-button"></i></a>
<!-- links for the navigation bar -->
@@ -61,6 +61,7 @@
<ul>
<li><a href="/startup/hello-samza/latest">Hello Samza</a></li>
<li><a href="/startup/download">Download</a></li>
+ <li><a href="/startup/preview">Feature Preview</a></li>
</ul>
<h1><i class="fa fa-book"></i> Learn</h1>
@@ -98,6 +99,7 @@
<h1><i class="fa fa-history"></i> Archive</h1>
<ul>
<li><a href="/archive/index.html#latest">latest</a></li>
+ <li><a href="/archive/index.html#13">0.13</a></li>
<li><a href="/archive/index.html#12">0.12</a></li>
<li><a href="/archive/index.html#11">0.11</a></li>
<li><a href="/archive/index.html#10">0.10</a></li>
@@ -172,7 +174,7 @@
<script>
$( document ).ready(function() {
- if ( $.fn.urlExists( "/learn/documentation/0.12/operations/kafka.html" ) ) {
+ if ( $.fn.urlExists( "/learn/documentation/0.13/operations/kafka.html" ) ) {
$("#switch-version-button").addClass("fa fa-history masthead-icon");
}
});
Modified: samza/site/learn/documentation/latest/operations/security.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/operations/security.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/operations/security.html (original)
+++ samza/site/learn/documentation/latest/operations/security.html Fri Jun 9 18:46:20 2017
@@ -46,7 +46,7 @@
- <a href="http://samza.apache.org/learn/documentation/0.12/operations/security.html"><i id="switch-version-button"></i></a>
+ <a href="http://samza.apache.org/learn/documentation/0.13/operations/security.html"><i id="switch-version-button"></i></a>
<!-- links for the navigation bar -->
@@ -61,6 +61,7 @@
<ul>
<li><a href="/startup/hello-samza/latest">Hello Samza</a></li>
<li><a href="/startup/download">Download</a></li>
+ <li><a href="/startup/preview">Feature Preview</a></li>
</ul>
<h1><i class="fa fa-book"></i> Learn</h1>
@@ -98,6 +99,7 @@
<h1><i class="fa fa-history"></i> Archive</h1>
<ul>
<li><a href="/archive/index.html#latest">latest</a></li>
+ <li><a href="/archive/index.html#13">0.13</a></li>
<li><a href="/archive/index.html#12">0.12</a></li>
<li><a href="/archive/index.html#11">0.11</a></li>
<li><a href="/archive/index.html#10">0.10</a></li>
@@ -214,7 +216,7 @@
<script>
$( document ).ready(function() {
- if ( $.fn.urlExists( "/learn/documentation/0.12/operations/security.html" ) ) {
+ if ( $.fn.urlExists( "/learn/documentation/0.13/operations/security.html" ) ) {
$("#switch-version-button").addClass("fa fa-history masthead-icon");
}
});
Modified: samza/site/learn/documentation/latest/rest/javadocs/allclasses-frame.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/rest/javadocs/allclasses-frame.html?rev=1798258&r1=1798257&r2=1798258&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/rest/javadocs/allclasses-frame.html (original)
+++ samza/site/learn/documentation/latest/rest/javadocs/allclasses-frame.html Fri Jun 9 18:46:20 2017
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (1.8.0_74) on Wed Feb 22 13:00:55 PST 2017 -->
-<title>All Classes (samza-rest 0.13.0-SNAPSHOT API)</title>
-<meta name="date" content="2017-02-22">
+<!-- Generated by javadoc (1.8.0_60) on Fri Jun 09 11:42:38 PDT 2017 -->
+<title>All Classes (samza-rest 0.13.1-SNAPSHOT API)</title>
+<meta name="date" content="2017-06-09">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
@@ -13,6 +13,7 @@
<div class="indexContainer">
<ul>
<li><a href="org/apache/samza/rest/proxy/job/AbstractJobProxy.html" title="class in org.apache.samza.rest.proxy.job" target="classFrame">AbstractJobProxy</a></li>
+<li><a href="org/apache/samza/rest/resources/BaseResourceConfig.html" title="class in org.apache.samza.rest.resources" target="classFrame">BaseResourceConfig</a></li>
<li><a href="org/apache/samza/rest/resources/DefaultResourceFactory.html" title="class in org.apache.samza.rest.resources" target="classFrame">DefaultResourceFactory</a></li>
<li><a href="org/apache/samza/rest/proxy/installation/InstallationFinder.html" title="interface in org.apache.samza.rest.proxy.installation" target="classFrame"><span class="interfaceName">InstallationFinder</span></a></li>
<li><a href="org/apache/samza/rest/proxy/installation/InstallationRecord.html" title="class in org.apache.samza.rest.proxy.installation" target="classFrame">InstallationRecord</a></li>
@@ -20,19 +21,29 @@
<li><a href="org/apache/samza/rest/proxy/job/JobInstance.html" title="class in org.apache.samza.rest.proxy.job" target="classFrame">JobInstance</a></li>
<li><a href="org/apache/samza/rest/proxy/job/JobProxy.html" title="interface in org.apache.samza.rest.proxy.job" target="classFrame"><span class="interfaceName">JobProxy</span></a></li>
<li><a href="org/apache/samza/rest/proxy/job/JobProxyFactory.html" title="interface in org.apache.samza.rest.proxy.job" target="classFrame"><span class="interfaceName">JobProxyFactory</span></a></li>
+<li><a href="org/apache/samza/monitor/JobsClient.html" title="class in org.apache.samza.monitor" target="classFrame">JobsClient</a></li>
<li><a href="org/apache/samza/rest/resources/JobsResource.html" title="class in org.apache.samza.rest.resources" target="classFrame">JobsResource</a></li>
<li><a href="org/apache/samza/rest/resources/JobsResourceConfig.html" title="class in org.apache.samza.rest.resources" target="classFrame">JobsResourceConfig</a></li>
<li><a href="org/apache/samza/rest/model/JobStatus.html" title="enum in org.apache.samza.rest.model" target="classFrame">JobStatus</a></li>
<li><a href="org/apache/samza/rest/proxy/job/JobStatusProvider.html" title="interface in org.apache.samza.rest.proxy.job" target="classFrame"><span class="interfaceName">JobStatusProvider</span></a></li>
+<li><a href="org/apache/samza/monitor/LocalStoreMonitor.html" title="class in org.apache.samza.monitor" target="classFrame">LocalStoreMonitor</a></li>
+<li><a href="org/apache/samza/monitor/LocalStoreMonitorConfig.html" title="class in org.apache.samza.monitor" target="classFrame">LocalStoreMonitorConfig</a></li>
+<li><a href="org/apache/samza/monitor/LocalStoreMonitorFactory.html" title="class in org.apache.samza.monitor" target="classFrame">LocalStoreMonitorFactory</a></li>
+<li><a href="org/apache/samza/monitor/LocalStoreMonitorMetrics.html" title="class in org.apache.samza.monitor" target="classFrame">LocalStoreMonitorMetrics</a></li>
<li><a href="org/apache/samza/monitor/Monitor.html" title="interface in org.apache.samza.monitor" target="classFrame"><span class="interfaceName">Monitor</span></a></li>
<li><a href="org/apache/samza/monitor/MonitorConfig.html" title="class in org.apache.samza.monitor" target="classFrame">MonitorConfig</a></li>
<li><a href="org/apache/samza/monitor/MonitorFactory.html" title="interface in org.apache.samza.monitor" target="classFrame"><span class="interfaceName">MonitorFactory</span></a></li>
<li><a href="org/apache/samza/monitor/MonitorLoader.html" title="class in org.apache.samza.monitor" target="classFrame">MonitorLoader</a></li>
+<li><a href="org/apache/samza/rest/model/Partition.html" title="class in org.apache.samza.rest.model" target="classFrame">Partition</a></li>
+<li><a href="org/apache/samza/rest/resources/ResourceConstants.html" title="class in org.apache.samza.rest.resources" target="classFrame">ResourceConstants</a></li>
<li><a href="org/apache/samza/rest/resources/ResourceFactory.html" title="interface in org.apache.samza.rest.resources" target="classFrame"><span class="interfaceName">ResourceFactory</span></a></li>
+<li><a href="org/apache/samza/rest/resources/Responses.html" title="class in org.apache.samza.rest.resources" target="classFrame">Responses</a></li>
<li><a href="org/apache/samza/monitor/SamzaMonitorService.html" title="class in org.apache.samza.monitor" target="classFrame">SamzaMonitorService</a></li>
<li><a href="org/apache/samza/rest/SamzaRestApplication.html" title="class in org.apache.samza.rest" target="classFrame">SamzaRestApplication</a></li>
<li><a href="org/apache/samza/rest/SamzaRestConfig.html" title="class in org.apache.samza.rest" target="classFrame">SamzaRestConfig</a></li>
<li><a href="org/apache/samza/rest/SamzaRestService.html" title="class in org.apache.samza.rest" target="classFrame">SamzaRestService</a></li>
+<li><a href="org/apache/samza/rest/proxy/task/SamzaTaskProxy.html" title="class in org.apache.samza.rest.proxy.task" target="classFrame">SamzaTaskProxy</a></li>
+<li><a href="org/apache/samza/rest/proxy/task/SamzaTaskProxyFactory.html" title="class in org.apache.samza.rest.proxy.task" target="classFrame">SamzaTaskProxyFactory</a></li>
<li><a href="org/apache/samza/monitor/ScheduledExecutorSchedulingProvider.html" title="class in org.apache.samza.monitor" target="classFrame">ScheduledExecutorSchedulingProvider</a></li>
<li><a href="org/apache/samza/monitor/SchedulingProvider.html" title="interface in org.apache.samza.monitor" target="classFrame"><span class="interfaceName">SchedulingProvider</span></a></li>
<li><a href="org/apache/samza/rest/proxy/job/ScriptJobProxy.html" title="class in org.apache.samza.rest.proxy.job" target="classFrame">ScriptJobProxy</a></li>
@@ -42,6 +53,11 @@
<li><a href="org/apache/samza/rest/proxy/installation/SimpleInstallationFinder.html" title="class in org.apache.samza.rest.proxy.installation" target="classFrame">SimpleInstallationFinder</a></li>
<li><a href="org/apache/samza/rest/proxy/job/SimpleYarnJobProxy.html" title="class in org.apache.samza.rest.proxy.job" target="classFrame">SimpleYarnJobProxy</a></li>
<li><a href="org/apache/samza/rest/proxy/job/SimpleYarnJobProxyFactory.html" title="class in org.apache.samza.rest.proxy.job" target="classFrame">SimpleYarnJobProxyFactory</a></li>
+<li><a href="org/apache/samza/rest/model/Task.html" title="class in org.apache.samza.rest.model" target="classFrame">Task</a></li>
+<li><a href="org/apache/samza/rest/proxy/task/TaskProxy.html" title="interface in org.apache.samza.rest.proxy.task" target="classFrame"><span class="interfaceName">TaskProxy</span></a></li>
+<li><a href="org/apache/samza/rest/proxy/task/TaskProxyFactory.html" title="interface in org.apache.samza.rest.proxy.task" target="classFrame"><span class="interfaceName">TaskProxyFactory</span></a></li>
+<li><a href="org/apache/samza/rest/proxy/task/TaskResourceConfig.html" title="class in org.apache.samza.rest.proxy.task" target="classFrame">TaskResourceConfig</a></li>
+<li><a href="org/apache/samza/rest/resources/TasksResource.html" title="class in org.apache.samza.rest.resources" target="classFrame">TasksResource</a></li>
<li><a href="org/apache/samza/rest/proxy/job/YarnCliJobStatusProvider.html" title="class in org.apache.samza.rest.proxy.job" target="classFrame">YarnCliJobStatusProvider</a></li>
</ul>
</div>