KAFKA-15215: docs for KIP-954 (#14949)

Upgrade guide and config docs for KIP-954, adding the new dsl.store.suppliers config for default store configuration

Reviewers: Anna Sophie Blee-Goldman <ableegoldman@apache.org>, Matthias Sax <mjsax@apache.org>
This commit is contained in:
Almog Gavra 2024-01-02 10:44:24 -08:00 committed by GitHub
parent e01eed32ab
commit ecf5550aa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 1 deletions

View File

@ -310,6 +310,23 @@ streamsSettings.put(StreamsConfig.NUM_STANDBY_REPLICAS_CONFIG, 1);</code></pre>
<td colspan="2">Default serializer/deserializer for the inner class of windowed values, implementing the <code class="docutils literal"><span class="pre">Serde</span></code> interface.</td> <td colspan="2">Default serializer/deserializer for the inner class of windowed values, implementing the <code class="docutils literal"><span class="pre">Serde</span></code> interface.</td>
<td>null</td> <td>null</td>
</tr> </tr>
<tr class="row-even"><td>default.dsl.store</td>
<td>Low</td>
<td colspan="2">
[DEPRECATED] The default state store type used by DSL operators. Deprecated in
favor of <code>dsl.store.suppliers.class</code>
</td>
<td><code>ROCKS_DB</code></td>
</tr>
<tr class="row-odd"><td>dsl.store.suppliers.class</td>
<td>Low</td>
<td colspan="2">
Defines a default state store implementation to be used by any stateful DSL operator
that has not explicitly configured the store implementation type. Must implement
the <code>org.apache.kafka.streams.state.DslStoreSuppliers</code> interface.
</td>
<td><code>BuiltInDslStoreSuppliers.RocksDBDslStoreSuppliers</code></td>
</tr>
<tr class="row-even"><td>max.task.idle.ms</td> <tr class="row-even"><td>max.task.idle.ms</td>
<td>Medium</td> <td>Medium</td>
<td colspan="2"> <td colspan="2">

View File

@ -209,7 +209,17 @@
</pre> </pre>
</p> </p>
<h3><a id="streams_api_changes_370" href="#streams_api_changes_370">Streams API changes in 3.7.0</a></h3>
<p>
The <code>default.dsl.store</code> config was deprecated in favor of the new
<code>dsl.store.suppliers.class</code> config to allow for custom state store
implementations to be configured as the default.
If you currently specify <code>default.dsl.store=ROCKS_DB</code> or <code>default.dsl.store=IN_MEMORY</code> replace those
configurations with <code>dsl.store.suppliers.class=BuiltInDslStoreSuppliers.RocksDBDslStoreSuppliers.class</code> and
<code>dsl.stores.suppliers.class=BuiltInDslStoreSuppliers.InMemoryDslStoreSuppliers.class</code> respectively
</p>
<p> <p>
A new configuration option <code>balance_subtopology</code> for <code>rack.aware.assignment.strategy</code> was introduced in 3.7 release. A new configuration option <code>balance_subtopology</code> for <code>rack.aware.assignment.strategy</code> was introduced in 3.7 release.
For more information, including how it can be enabled and further configured, see the <a href="/{{version}}/documentation/streams/developer-guide/config-streams.html#rack-aware-assignment-strategy"><b>Kafka Streams Developer Guide</b></a>. For more information, including how it can be enabled and further configured, see the <a href="/{{version}}/documentation/streams/developer-guide/config-streams.html#rack-aware-assignment-strategy"><b>Kafka Streams Developer Guide</b></a>.