Once you have configured the Apache Kafka permissions, you can establish a connection between Atlan and Apache Kafka.
To crawl metadata from Apache Kafka, review the order of operations and then complete the following steps.
Select the source
To select Apache Kafka as your source:
- In the top right of any screen in Atlan, navigate to +New and click New Workflow.
- From the Marketplace page, click Apache Kafka Assets.
- In the right panel, click Setup Workflow.
- In Direct extraction, Atlan connects to Apache Kafka and crawls metadata directly.
- In S3 extraction, you need to first extract metadata yourself and make it available in S3.
Direct extraction method
To enter your Apache Kafka credentials:
- For Bootstrap servers, enter the hostname(s) of your Apache Kafka broker(s) — for multiple hostnames, separate each entry with a semicolon
- For Authentication, click No Auth if your Apache Kafka cluster does not require any authentication or click Basic to authenticate via username and password:
- For Security protocol, click Plaintext to connect to Apache Kafka through a non-encrypted channel or click SSL to connect via a Secure Sockets Layer (SSL) channel.
- Click the Test Authentication button to confirm connectivity to Apache Kafka.
- Once authentication is successful, navigate to the bottom of the screen and click Next.
S3 extraction method
Atlan also supports the S3 extraction method for fetching metadata from Apache Kafka. This method uses Atlan's kafka-extractor tool to fetch metadata. You will need to first extract the metadata yourself and then make it available in S3.
To enter your S3 details:
- For S3 bucket name, enter the name of your S3 bucket.
- For S3 prefix, enter the S3 prefix under which all the metadata files exist. These include
topic-configs.json, and so on.
- For S3 region, enter the name of the S3 region.
- When complete, at the bottom of the screen, click Next.
Configure the connection
To complete the Apache Kafka connection configuration:
- Provide a Connection Name that represents your source environment. For example, you might use values like
- (Optional) To change the users who are able to manage this connection, change the users or groups listed under Connection Admins.
🚨 Careful! If you do not specify any user or group, no one will be able to manage the connection — not even admins.
- Navigate to the bottom of the screen and click Next to proceed.
Configure the crawler
Before running the Apache Kafka crawler, you can further configure it.
On the Metadata page, you can override the defaults for any of these options:
- For Skip internal topics, keep the default option Yes to skip internal Apache Kafka topics or click No to enable crawling them.
- To select the Apache Kafka assets you want to exclude from crawling, click Exclude topics regex. (This will default to no assets, if none specified.)
- To select the Apache Kafka assets you want to include in crawling, click Include topics regex. (This will default to all assets, if none are specified.)
Run the crawler
To run the Apache Kafka crawler, after completing the steps above:
- To run the crawler once, immediately, at the bottom of the screen, click the Run button.
- To schedule the crawler to run hourly, daily, weekly, or monthly, at the bottom of the screen, click the Schedule & Run button.
Once the crawler has completed running, you will see the assets on Atlan's asset page! 🎉