You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Pub/Sub Go library is in progress to receive a v2 update. Details will be provided in the migration guide of the library but the key differences are
The existing resource management API (admin operations) will be deprecated, and replaced with the gRPC autogenerated surface that the other packages in this repository use. This affects topic, subscription, and schema management and related API.
The Topic and Subscription structs will be renamed to Publisher and Subscriber respectively
Some settings fields will be removed (ReceiveSettings.Synchronous, PublishSettings.BufferedByteLimit, ReceiveSettings.UseLegacyFlowControl)
Some settings fields will be renamed (e.g. MaxExtensionPeriod -> MaxDurationPerLeaseExtension)
Some default settings will be changed (ReceiveSettings.NumGoroutines will now default to 1)
We plan to support the cloud.google.com/go/pubsub (henceforth known as the v1 library) for 1 year from when the v2 library is launched, to give developers proper time to migrate to the v2. We will prioritize new features in v2, but providing security and bug fixes in the v1.
The following steps will be done, and will roughly correspond to 1 PR each, with changes being staged in the pubsub-v2-trunk branch.
Create new v2 directory and copy existing v1 surface over
The Pub/Sub Go library is in progress to receive a v2 update. Details will be provided in the migration guide of the library but the key differences are
Topic
andSubscription
structs will be renamed toPublisher
andSubscriber
respectivelyWe plan to support the
cloud.google.com/go/pubsub
(henceforth known as the v1 library) for 1 year from when the v2 library is launched, to give developers proper time to migrate to the v2. We will prioritize new features in v2, but providing security and bug fixes in the v1.The following steps will be done, and will roughly correspond to 1 PR each, with changes being staged in the
pubsub-v2-trunk
branch.cloud.google.com/go/pubsub/v2
, including GAPIC code chore(pubsub): rewrite v2 files with new package #11292Internal docs link: go/pubsub-admin-generate-go
The text was updated successfully, but these errors were encountered: