m1a2st commented on code in PR #19065:
URL: https://github.com/apache/kafka/pull/19065#discussion_r1976456134


##########
docs/ops.html:
##########
@@ -3827,22 +3827,22 @@ <h4 class="anchor-heading"><a id="kraft_storage" 
class="anchor-link"></a><a href
   <h5 class="anchor-heading"><a id="kraft_storage_standalone" 
class="anchor-link"></a><a href="#kraft_storage_standalone">Bootstrap a 
Standalone Controller</a></h5>
   The recommended method for creating a new KRaft controller cluster is to 
bootstrap it with one voter and dynamically <a href="#kraft_reconfig_add">add 
the rest of the controllers</a>. Bootstrapping the first controller can be done 
with the following CLI command:
 
-  <pre><code class="language-bash">$ bin/kafka-storage.sh format --cluster-id 
&lt;cluster-id&gt; --standalone --config controller.properties</code></pre>
+  <pre><code class="language-bash">$ bin/kafka-storage.sh format --cluster-id 
&lt;cluster-id&gt; --standalone --config 
config/controller.properties</code></pre>
 
   This command will 1) create a meta.properties file in metadata.log.dir with 
a randomly generated directory.id, 2) create a snapshot at 
00000000000000000000-0000000000.checkpoint with the necessary control records 
(KRaftVersionRecord and VotersRecord) to make this Kafka node the only voter 
for the quorum.
 
   <h5 class="anchor-heading"><a id="kraft_storage_voters" 
class="anchor-link"></a><a href="#kraft_storage_voters">Bootstrap with Multiple 
Controllers</a></h5>
   The KRaft cluster metadata partition can also be bootstrapped with more than 
one voter. This can be done by using the --initial-controllers flag:
 
-  <pre><code class="language-bash">cluster-id=$(bin/kafka-storage.sh 
random-uuid)
-controller-0-uuid=$(bin/kafka-storage.sh random-uuid)
-controller-1-uuid=$(bin/kafka-storage.sh random-uuid)
-controller-2-uuid=$(bin/kafka-storage.sh random-uuid)
+  <pre><code class="language-bash">CLUSTER_ID="$(bin/kafka-storage.sh 
random-uuid)"
+CONTROLLER_0_UUID="$(bin/kafka-storage.sh random-uuid)"
+CONTROLLER_1_UUID="$(bin/kafka-storage.sh random-uuid)"
+CONTROLLER_2_UUID="$(bin/kafka-storage.sh random-uuid)"
 
 # In each controller execute
 bin/kafka-storage.sh format --cluster-id ${cluster-id} \
                      --initial-controllers 
"0@controller-0:1234:${controller-0-uuid},1@controller-1:1234:${controller-1-uuid},2@controller-2:1234:${controller-2-uuid}"
 \

Review Comment:
   Please also update these variables 
`"0@controller-0:1234:${controller-0-uuid},1@controller-1:1234:${controller-1-uuid},2@controller-2:1234:${controller-2-uuid}"`



##########
docs/ops.html:
##########
@@ -3827,22 +3827,22 @@ <h4 class="anchor-heading"><a id="kraft_storage" 
class="anchor-link"></a><a href
   <h5 class="anchor-heading"><a id="kraft_storage_standalone" 
class="anchor-link"></a><a href="#kraft_storage_standalone">Bootstrap a 
Standalone Controller</a></h5>
   The recommended method for creating a new KRaft controller cluster is to 
bootstrap it with one voter and dynamically <a href="#kraft_reconfig_add">add 
the rest of the controllers</a>. Bootstrapping the first controller can be done 
with the following CLI command:
 
-  <pre><code class="language-bash">$ bin/kafka-storage.sh format --cluster-id 
&lt;cluster-id&gt; --standalone --config controller.properties</code></pre>
+  <pre><code class="language-bash">$ bin/kafka-storage.sh format --cluster-id 
&lt;cluster-id&gt; --standalone --config 
config/controller.properties</code></pre>

Review Comment:
   ditto: Please update the variable `&lt;cluster-id&gt;`



##########
docs/ops.html:
##########
@@ -4187,7 +4187,7 @@ <h4 class="anchor-heading"><a 
id="consumer_rebalance_protocol_server" class="anc
   <p>The assignment strategy is also controlled by the server. The 
<code>group.consumer.assignors</code> configuration can be used to specify the 
list of available
     assignors for <code>Consumer</code> groups. By default, the 
<code>uniform</code> assignor and the <code>range</code> assignor are 
configured. The first assignor
     in the list is used by default unless the Consumer selects a different 
one. It is also possible to implement custom assignment strategies on the 
server side
-    by implementing the 
<code>org.apache.kafka.coordinator.group.api.assignor.ConsumerGroupPartitionAssignor</code>
 interface and specifying the full class name in the configuration.</p>
+    by implementing the <code style="font-size: 
12px;">org.apache.kafka.coordinator.group.api.assignor.ConsumerGroupPartitionAssignor</code>
 interface and specifying the full class name in the configuration.</p>

Review Comment:
   I don’t think reducing the font size is a good solution. Would it be 
possible to solve the problem by using line breaks instead?



##########
docs/ops.html:
##########
@@ -3851,7 +3851,7 @@ <h5 class="anchor-heading"><a id="kraft_storage_voters" 
class="anchor-link"></a>
   <h5 class="anchor-heading"><a id="kraft_storage_observers" 
class="anchor-link"></a><a href="#kraft_storage_observers">Formatting Brokers 
and New Controllers</a></h5>
   When provisioning new broker and controller nodes that we want to add to an 
existing Kafka cluster, use the <code>kafka-storage.sh format</code> command 
with the --no-initial-controllers flag.
 
-  <pre><code class="language-bash">$ bin/kafka-storage.sh format --cluster-id 
&lt;cluster-id&gt; --config server.properties 
--no-initial-controllers</code></pre>
+  <pre><code class="language-bash">$ bin/kafka-storage.sh format --cluster-id 
&lt;cluster-id&gt; --config config/server.properties 
--no-initial-controllers</code></pre>

Review Comment:
   Please update the variable `&lt;cluster-id&gt;` 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to