Kafka APIs (Beta)

RapidAPI allows you to publish Kafka APIs on the RapidAPI Hub. With Kafka APIs, developers can discover Kafka topics, explore topic schemas and configuration, as well as consume and produce (if enabled) records from a browser.

Add a Kafka API

To add a Kafka API, click "Add New API" on the provider dashboard and select "Kafka" as the API type.

Connect to the Kafka cluster

After saving descriptions, click on the API Specs tab and enter the host:port pairs for one or more. bootstrap servers. You have options to enable TLS/SSL and select from the available authentication options.

  • None
  • SASL/Plain
  • SASL/SCRAM-SHA-256
  • SASL/SCRAM-SHA-512

Connect to a schema registry

You can connect to a schema registry (must be compatible with Confluent Schema Registry) to display topic schemas on the RapidAPI Hub. Currently, RapidAPI supports the Topic Name Strategy as the Subject Name Strategy.

Allow/disallow producing records

You can either enable or disable producing records from the RapidAPI Hub. This is useful when initially creating a topic or for debugging.

Invite developers/teams/orgs to use your API or make it public

Like other APIs, when you first create a Kafka API, it is private. Only you (if created in your personal context), or your team (if created in a team context) can access the API on the RapidAPI Hub.

To invite other users, teams, or organizations to access your private API on the RapidAPI Hub, click on Global Settings, select user, team, or organization and then search for, select, and click invite your API consumer.


What’s Next