Troubleshooting Kafka Clusters
Use troubleshooting information to identify and address common issues that can occur while working with the OCI Streaming with Apache Kafka.
See also Known Issues for Streaming with Apache Kafka.
Topic Creation Fails
Unable to create a topic in a Kafka client application.
When you create a Kafka topic using the kafka-topics.sh command, the topic creation fails or results in unclear errors.
Topic Creation Fails Because of Invalid Replication Factor
When the replication factor specified in the create operation is more than the number of brokers in the Kafka cluster, the topic creation fails.
Following is an example of an incorrect create operation when the Kafka cluster has only 1 broker. The maximum valid replication factor in this case is 1 and because the operations specifies a value of 3, it results in an error.
./kafka-topics.sh --create --bootstrap-server <broker> --replication-factor 3 --partitions 2 --topic topic --command-config client.properties