Skip to content

[Go] Add WithApplicationName method to SdkOption#357

Open
teodordelibasic-db wants to merge 2 commits into
mainfrom
go/user-agent
Open

[Go] Add WithApplicationName method to SdkOption#357
teodordelibasic-db wants to merge 2 commits into
mainfrom
go/user-agent

Conversation

@teodordelibasic-db

Copy link
Copy Markdown
Contributor

What changes are proposed in this pull request?

  • Exposes configuring the UserAgent header through the WithApplicationName method to SdkOption for NewZerobusSdk. Wire value becomes zerobus-sdk-go/<version> <application_name>.
  • Adds method WithNoTLS to SdkOption for NewZerobusSdk that selects a no-TLS gRPC channel.
  • user-agent header now correctly identifies the Go SDK as zerobus-sdk-go/<version> instead of the underlying Rust default.

How is this tested?

CI and testing against local server for propagation of the header.

@teodordelibasic-db teodordelibasic-db changed the title [Go] Expose `` [Go] Add WithApplicationName method to SdkOption Jun 9, 2026
Signed-off-by: teodordelibasic-db <teodor.delibasic@databricks.com>
Signed-off-by: teodordelibasic-db <teodor.delibasic@databricks.com>
@elenagaljak-db

Copy link
Copy Markdown
Contributor

Maybe we should split the ffi changes and go changes? And do a separate ffi release?

@teodordelibasic-db

Copy link
Copy Markdown
Contributor Author

Tracked by #381 (under the user-agent umbrella #379).

@teodordelibasic-db

Copy link
Copy Markdown
Contributor Author

Correction: this is tracked by #194 (under umbrella #379). The earlier-referenced #381 was closed as a duplicate of #194.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants