ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying PubSub client for anything not wrapped here.
Publish one message to topic via topic(name).publishMessage. The
message is encoded per the module's rules (string → UTF-8, Buffer → as-is,
else JSON). Returns the server-assigned message id.
Optionalattributes: Record<string, string>createTopic — create a new topic.
createSubscription — attach a new subscription name to topic.
Optionaloptions: unknownSubscribe to subscription, invoking handler for each streamed message
(the driver's Message object; call .ack() / .nack() on it). Attaches
a 'message' listener via subscription(name).on('message', ...) and
returns a subscription handle whose stop() detaches the listener; it is
also tracked so disconnect() detaches it.
PubSubStorewraps a@google-cloud/pubsubclient and exposes topic publishing, subscription listening, and topic/subscription administration.