Documentation ¶
Index ¶
- Constants
- Variables
- func Dynamic(opts *cli.Options) error
- func NewClient(opts *cli.Options) (*pubsub.Client, error)
- func Read(opts *cli.Options, md *desc.MessageDescriptor) error
- func Relay(opts *cli.Options, relayCh chan interface{}, shutdownCtx context.Context) (relay.IRelayBackend, error)
- func Write(opts *cli.Options, md *desc.MessageDescriptor) error
- type GCPPubSub
- type Relayer
Constants ¶
View Source
const (
RetryReadInterval = 5 * time.Second
)
Variables ¶
Functions ¶
func Dynamic ¶ added in v0.28.0
Dynamic starts up a new GRPC client connected to the dProxy service and receives a stream of outbound replay messages which are then written to the message bus.
func Write ¶
func Write(opts *cli.Options, md *desc.MessageDescriptor) error
Write is the entry point function for performing write operations in GCP PubSub.
This is where we verify that the passed args and flags combo makes sense, attempt to establish a connection, parse protobuf before finally attempting to perform the write.
Types ¶
Click to show internal directories.
Click to hide internal directories.