Skip to content

Commit 166fd36

Browse files
Add notes for topic partition error situation (#522)
* Add notes for topic parition error situation * Address SME feedback * Revert one minor, unintended update
1 parent 96079ce commit 166fd36

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

docs/kafka/getting-started-kafka/README.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,11 @@ image::sak-create-topic.png[Image of wizard to create a topic]
314314

315315
After you complete the topic setup, the new Kafka topic is listed in the topics table. You can now start producing and consuming messages to and from this topic using services that you connect to this instance.
316316

317-
NOTE: If your topic creation is unsuccessful and you receive an error message, try to create your topic again later. This situation might occur, for example, if your selected cloud provider has a temporary availability problem that affects your Kafka instance.
317+
ifndef::community[]
318+
NOTE: If you try to create a topic with a number of partitions that would cause the partition limit of the Kafka instance to be exceeded, you see an error message indicating this. For more information about partition limits for Kafka instances, see https://access.redhat.com/articles/5979061[{product-long-kafka} service limits].
319+
endif::[]
320+
321+
NOTE: If the topic creation is unsuccessful and you see a `400 Bad Request` error message, try to create your topic again later. This situation might occur, for example, if your selected cloud provider has a temporary availability problem that affects your Kafka instance.
318322

319323
--
320324
. In the topics table, on the right side of the Kafka topic, use the options icon (three vertical dots) to edit or delete the topic as needed.

docs/kafka/kafka-bin-scripts-kafka/README.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ Created topic my-other-topic.
187187
--
188188
+
189189
The preceding example uses the `kafka-topics` script to create the `my-other-topic` Kafka topic with the default settings.
190+
+
191+
ifndef::community[]
192+
NOTE: If you try to create a topic with a number of partitions that would cause the partition limit of the Kafka instance to be exceeded, you see an error message indicating this. For more information about partition limits for Kafka instances, see https://access.redhat.com/articles/5979061[{product-long-kafka} service limits].
193+
endif::[]
190194

191195
. Enter the following command to start the `kafka-console-producer` script.
192196
+

docs/kafka/topic-configuration-kafka/README.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,14 @@ h|Supported values
172172
h|Kafka property name
173173
|`num.partitions`
174174
|===
175+
176+
ifdef::community[]
177+
NOTE: If you try to create a new topic with a number of partitions that would cause the partition limit of the Kafka instance to be exceeded, you see an error message indicating this. If you try to increase the number of partitions for an existing topic and this would cause the cause the partition limit of the Kafka instance to be exceeded, you see an error message stating that topic authorization failed.
178+
endif::[]
179+
180+
ifndef::community[]
181+
NOTE: If you try to create a new topic with a number of partitions that would cause the partition limit of the Kafka instance to be exceeded, you see an error message indicating this. If you try to increase the number of partitions for an existing topic and this would cause the cause the partition limit of the Kafka instance to be exceeded, you see an error message stating that topic authorization failed. For more information about partition limits for Kafka instances, see https://access.redhat.com/articles/5979061[{product-long-kafka} service limits].
182+
endif::[]
175183
--
176184

177185
Replicas::

0 commit comments

Comments
 (0)