> For the complete documentation index, see [llms.txt](https://docs.lenses.io/latest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lenses.io/latest/devx/5.5/getting-started/connections/kafka/azure-hdinsight.md).

# Azure HDInsight

This page describes connection Lenses to a Azure HDInsight cluster.

{% hint style="success" %}
Lenses will not start without a valid Kafka Connection. You can either add the connection via the bootstrap wizard or use [provisioning ](/latest/devx/5.5/deployment/installation/automation.md)for automated deployments.
{% endhint %}

In our Azure Portal, go to **`Dashboards > Ambari home`**`.`

1. Kafka endpoints: Go to **`Kafka > Configs > Kafka Broker > Kafka Broker hosts`**
2. Optionally get the Zookeeper endpoints: Go to **`Zookeeper > Configs > Zookeeper Server > Zookeeper Server hosts`**.

In the Lenses bootstrap UI:

1. Set the Kafka endpoints as bootstrap servers
2. Set the security protocol, mechanism and Jaas config according to your setup. For information on configuring clients (Lenses) for your HDInsight cluster see [here ](https://learn.microsoft.com/en-us/azure/hdinsight/kafka/apache-kafka-ssl-encryption-authentication#client-setup-with-authentication)for unauthenticated and [here ](https://learn.microsoft.com/en-us/azure/hdinsight/kafka/apache-kafka-ssl-encryption-authentication#client-setup-with-authentication)for authenticated.

## TLS without Authentication

Set the following:

1. **`security.protocol`** to **SSL**
2. Set the password for your trust store
3. Upload your trust store

## TLS with Authentication

Perform the additional steps to above

1. Set the password for your key store
2. Upload your key store
3. Set your key password


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lenses.io/latest/devx/5.5/getting-started/connections/kafka/azure-hdinsight.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
