Which port is used by the Schema Registry by default?

Study for the CCDAK Apache Kafka Test. Use flashcards and multiple choice questions with hints and explanations for each question. Prepare thoroughly for your exam!

Multiple Choice

Which port is used by the Schema Registry by default?

Explanation:
Schema Registry runs as its own HTTP service with a REST API, separate from the Kafka brokers. The port it listens on for that API is 8081 by default, so you access schemas through endpoints like http://localhost:8081/subjects. The other ports belong to different components: 9092 is the Kafka broker’s port, 8082 is commonly used by the REST Proxy, and 8088 is not the Schema Registry’s default. So the port used by the Schema Registry by default is 8081.

Schema Registry runs as its own HTTP service with a REST API, separate from the Kafka brokers. The port it listens on for that API is 8081 by default, so you access schemas through endpoints like http://localhost:8081/subjects. The other ports belong to different components: 9092 is the Kafka broker’s port, 8082 is commonly used by the REST Proxy, and 8088 is not the Schema Registry’s default. So the port used by the Schema Registry by default is 8081.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy