-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into oracle-updates
- Loading branch information
Showing
26 changed files
with
6,337 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions
40
metadata-ingestion/docs/sources/cassandra/cassandra_pre.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
### Setup | ||
|
||
This integration pulls metadata directly from Cassandra databases, including both **DataStax Astra DB** and **Cassandra Enterprise Edition (EE)**. | ||
|
||
You’ll need to have a Cassandra instance or an Astra DB setup with appropriate access permissions. | ||
|
||
#### Steps to Get the Required Information | ||
|
||
1. **Set Up User Credentials**: | ||
|
||
- **For Astra DB**: | ||
- Log in to your Astra DB Console. | ||
- Navigate to **Organization Settings** > **Token Management**. | ||
- Generate an **Application Token** with the required permissions for read access. | ||
- Download the **Secure Connect Bundle** from the Astra DB Console. | ||
- **For Cassandra EE**: | ||
- Ensure you have a **username** and **password** with read access to the necessary keyspaces. | ||
|
||
2. **Permissions**: | ||
|
||
- The user or token must have `SELECT` permissions that allow it to: | ||
- Access metadata in system keyspaces (e.g., `system_schema`) to retrieve information about keyspaces, tables, columns, and views. | ||
- Perform `SELECT` operations on the data tables if data profiling is enabled. | ||
|
||
3. **Verify Database Access**: | ||
- For Astra DB: Ensure the **Secure Connect Bundle** is used and configured correctly. | ||
- For Cassandra Opensource: Ensure the **contact point** and **port** are accessible. | ||
|
||
|
||
:::caution | ||
|
||
When enabling profiling, make sure to set a limit on the number of rows to sample. Profiling large tables without a limit may lead to excessive resource consumption and slow performance. | ||
|
||
::: | ||
|
||
:::note | ||
|
||
For cloud configuration with Astra DB, it is necessary to specify the Secure Connect Bundle path in the configuration. For that reason, use the CLI to ingest metadata into DataHub. | ||
|
||
::: |
30 changes: 30 additions & 0 deletions
30
metadata-ingestion/docs/sources/cassandra/cassandra_recipe.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
source: | ||
type: "cassandra" | ||
config: | ||
# Credentials for on prem cassandra | ||
contact_point: "localhost" | ||
port: 9042 | ||
username: "admin" | ||
password: "password" | ||
|
||
# Or | ||
# Credentials Astra Cloud | ||
#cloud_config: | ||
# secure_connect_bundle: "Path to Secure Connect Bundle (.zip)" | ||
# token: "Application Token" | ||
|
||
# Optional Allow / Deny extraction of particular keyspaces. | ||
keyspace_pattern: | ||
allow: [".*"] | ||
|
||
# Optional Allow / Deny extraction of particular tables. | ||
table_pattern: | ||
allow: [".*"] | ||
|
||
# Optional | ||
profiling: | ||
enabled: true | ||
profile_table_level_only: true | ||
|
||
sink: | ||
# config sinks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.