View the latest documentation 5.5
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.
Create Key
Global access
Cluster settings
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:
admin
On the Bootstrap Servers form add the kafka endpoint from above. Select as Security Protocol SASL SSL with SASL Mechanism PLAIN.
SASL SSL
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:
username
password
org.apache.kafka.common.security.plain.PlainLoginModule required username="[Your_API_KEY]" password="[Your_API_KEY_SECRET]"
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