- Added personal access token (PAT) authentication (Private Preview). PAT
authentication for Zerobus requires server-side enablement.
Pass
auth=PersonalAccessToken(token)tocreate_stream()(sync and async), or callpersonal_access_token(token)on the persistent stream builder, to authenticate with a Databricks PAT created with thezerobusAPI scope. The token stays in the Rust core, so no Python callback runs per request, and it is never shown inrepr(). It is compiled into the wheel; no extra is needed. Seeexamples/sync_example_pat.py.
- Documented the GCP workspace URL and Zerobus endpoint formats. The formats for AWS, Azure, and GCP now live in one connection URL table, and this SDK's README, examples, proto generator, and API docs link to it instead of repeating cloud-specific URLs.
- The examples exit with an error naming the missing environment variable instead of falling back to placeholder values.
- Added
PersonalAccessToken, exported fromzerobusandzerobus.sdk.shared. It raisesValueErrorfor an empty token (Private Preview). create_stream(auth=...)now accepts aPersonalAccessTokenas well as aFederatedToken. As before,auth=cannot be combined withclient_id/client_secret(Private Preview).- Added
PersistentStreamBuilder.personal_access_token(token), taking the token string or aPersonalAccessToken. It replaces an earlieroauth()orheaders_provider()call, and they replace it (Private Preview).