@dbx-tools/databricks-zerobus 0.1.18 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @dbx-tools/
|
|
1
|
+
# @dbx-tools/databricks-zerobus
|
|
2
2
|
|
|
3
3
|
Region-aware Zerobus ingest helpers for Databricks workspaces.
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ an ingest stream without hand-building the region-specific Zerobus endpoint.
|
|
|
8
8
|
Key features:
|
|
9
9
|
|
|
10
10
|
- Databricks workspace URL/id discovery through
|
|
11
|
-
[`@dbx-tools/
|
|
11
|
+
[`@dbx-tools/databricks`](../databricks).
|
|
12
12
|
- Cloud/region-aware Zerobus endpoint construction.
|
|
13
13
|
- Credential lookup with Zerobus-prefixed env vars and Databricks client-id
|
|
14
14
|
fallbacks.
|
|
@@ -18,13 +18,13 @@ Key features:
|
|
|
18
18
|
## Create A Zerobus SDK Client
|
|
19
19
|
|
|
20
20
|
```ts
|
|
21
|
-
import { zerobus } from "@dbx-tools/
|
|
21
|
+
import { zerobus } from "@dbx-tools/databricks-zerobus";
|
|
22
22
|
|
|
23
23
|
const sdk = await zerobus.createSdk();
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
`createSdk()` resolves the current Databricks workspace URL/id, detects its cloud
|
|
27
|
-
region through [`@dbx-tools/
|
|
27
|
+
region through [`@dbx-tools/databricks`](../databricks), and constructs the
|
|
28
28
|
Zerobus endpoint for that region.
|
|
29
29
|
|
|
30
30
|
## Open An Ingest Stream
|
|
@@ -52,4 +52,4 @@ client and stream endpoint, then leaves ingestion semantics to Zerobus.
|
|
|
52
52
|
- `zerobus` - `createSdk()` and `createStream()`.
|
|
53
53
|
|
|
54
54
|
This package has no AppKit dependency. Workspace and cloud detection are
|
|
55
|
-
delegated to [`@dbx-tools/
|
|
55
|
+
delegated to [`@dbx-tools/databricks`](../databricks).
|
package/package.json
CHANGED
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@databricks/zerobus-ingest-sdk": "^1.1.0",
|
|
15
|
-
"@dbx-tools/databricks": "0.1.
|
|
16
|
-
"@dbx-tools/shared-core": "0.1.
|
|
15
|
+
"@dbx-tools/databricks": "0.1.20",
|
|
16
|
+
"@dbx-tools/shared-core": "0.1.20"
|
|
17
17
|
},
|
|
18
18
|
"main": "index.ts",
|
|
19
19
|
"license": "UNLICENSED",
|
|
20
20
|
"publishConfig": {
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
|
-
"version": "0.1.
|
|
23
|
+
"version": "0.1.20",
|
|
24
24
|
"types": "index.ts",
|
|
25
25
|
"type": "module",
|
|
26
26
|
"exports": {
|