View the latest documentation 5.4
Sign up with Lenses
and download your license key.
Confluent Cloud Apache Kafka is a fully managed streaming platform, deployable in the cloud of your choice.
Start by signing up for a Confluent Cloud account.
Follow the in-product instructions to launch a Kafka cluster within the Confluent Cloud user interface.
Then, enable remote access by creating API keys.
Run the following in a terminal:
docker run -e LENSES_PORT=8080 -p 8080:8080 lensesio/lenses
Wait for this message in the logs:
2021-12-16 18:17:04,322 INFO [i.l.b.r.HttpServer] [ioapp-compute-6] Lenses http server started and listening to requests.
Now your Lenses is up and running.
Head to http://localhost:8080.
Login as admin:
On the Bootstrap Servers form add the kafka endpoint from above. Select as Security Protocol SASL SSL with SASL Mechanism PLAIN.
SASL Mechanism PLAIN
On the JAAS Configuration update the username and password from the respective fields Key and Secret of the API key created above:
Click on Test Kafka Brokers. And you should get the message: Validation completed successfully:
Test Kafka Brokers
Validation completed successfully
Add your Lenses license. Copy and paste the JSON file you downloaded from your email. Lenses will check that the license is valid.
Click on Save & Boot Lenses. Lenses will finish configuring itself.
From Lenses Select Schema Registry => Create Connection.
Within the Confluent Cloud user interface, follow the in-product instructions to launch a Schema Registry. Grab the API endpoint from the Schema Registry.
In Confluent Cloud select > Schema Registry > Edit API credentials > Create key > Download and continue > Done.
> Schema Registry > Edit API credentials > Create key > Download and continue > Done
Back in Lenses, paste the API key in the Nodes, and on the Authentication select Enable basic Auth. Paste the credentials in the Authentication Username (key) and Password (secret) fields as shown below:
Enable basic Auth
Finally click on Test Schema Registry Connection: You should get a validation message similar to:
Click on Apply Changes.
Confluent Cloud only exposes certain, limited endpoints.
These endpoints are not available:
Without these endpoints these Lenses features are not available:
On this page