-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Emit header for gRPC messages #2221
Copy link
Copy link
Closed
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.grpcpriority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.
Metadata
Metadata
Assignees
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.grpcpriority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.
Type
Fields
Give feedbackNo fields configured for issues without a type.
gRPC connections currently don't have enough information in the request for us to do efficient traffic management/routing.
Will you add a header that allows for us to optimize for this on the server? The header format is:
In general, the prefix would be the same as the JSON-over-http URL up to any custom method. For example, a Cloud Datastore commit message over JSON would hit the url
projects/my-project-id:commit.Here is an example usage in the cloud-bigtable-client: https://github.com/GoogleCloudPlatform/cloud-bigtable-client/pull/915/files#diff-1078787e69bc1d7c5bb8507f0a87a143R83