Optionaloptions: PubSubOptionsOpens the broker connection.
Closes the broker connection.
Publishes a payload under the configured acknowledgement bound.
Destination topic
Payload to serialize
Optionaloptions: PublishOptions
Caller headers, ordering key and de-duplication id
Resolves when Pub/Sub acknowledges the publish
Internal
Publishes with framework-owned headers under the configured acknowledgement bound.
Destination topic
Payload to serialize
Framework-owned transport headers
Optionaloptions: PublishOptions
Caller headers, ordering key and de-duplication id
Resolves when the transport acknowledges the publish
Tri-state backend reachability (M70c).
The GCP SDK owns streaming-pull reconnection, so the broker issues no reconnect loop of its own. The transport's isHealthy round trip is cached for 5 s and bounded at 2 s. The real adapter uses getTopics: gRPC 14 → false, 4 → undefined, other numeric codes → true, no code → false. An expired bound or an absent transport probe means unknown reachability.
true/false/undefined as described
Sends a request to a topic and awaits a single correlated reply, providing brokered request-reply (RPC) over the message broker.
A responder registered with respond on the same topic returns
the reply. The call rejects with a RequestTimeoutError when no reply
arrives within options.timeoutMs, and with a RemoteHandlerError when the
responder throws.
Request traffic rides a channel derived from topic, disjoint from plain
publish/subscribe on that same topic — a pub/sub
consumer never observes an RPC request, and vice versa.
The request payload type
The reply payload type
Destination topic the responder is listening on
The request payload (serialized by the broker adapter)
Optionaloptions: RequestOptions
Reply timeout behavior
The reply payload
Internal
Sends request-reply traffic with framework-owned headers.
Optionaloptions: RequestOptionsRegisters a responder for a request topic. The handler's resolved value is sent back to the requesting caller, correlated to the originating request.
Pass options.queue to load-balance requests across competing responders.
The request payload type
The reply payload type
The request topic to respond on
Invoked per request; its result is returned to the caller
Optionaloptions: SubscribeOptions
Consumer group behavior
The active subscription
Subscribes to a topic.
The payload type
Source topic
Invoked per delivered message
Optionaloptions: SubscribeOptions
Consumer group behavior
The active subscription
Internal
Subscribes through the header-aware internal path.
Optionaloptions: SubscribeOptions
GCP Pub/Sub message broker.
Since
0.1.0