Registring via REST
This page describes using the Lenses Rest endpoints to register your own applications with Lenses.
Registering a new application
curl -X POST \
<LENSES_HOST_URL>/api/v1/apps/external \
-H 'Content-Type: application/json' \
-H 'X-Kafka-Lenses-Token: <LENSES_AUTH_TOKEN>' \
-d '{
"name": "Example_Producer_App",
"metadata": {
"version": "1.0.0",
"owner": "Lenses",
"deployment": "K8s",
"tags": [
"fraud",
"detection",
"app"
]
},
"input": [{"name": "fraud_input_topic"}],
"output": [{"name": "fraud_output_topic"}],
"runners": [{"url": "<YOUR_HEALTH_CHECK_URL_1>", "name": "Example_Runner"}]
}'Viewing your application in the Lenses
Scaling your application runners
Remove your Application
Last updated
Was this helpful?

