Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pipe ¶
type Pipe interface {
Pipe(topic, group string)
}
Pipe interface pipes data from input to output. it has streaming to jetstream or nats to jetstream implementation. please note that we always use queue subscription so you need to specify the group id.
type Piped ¶
type Piped struct { PipedMessages prometheus.Counter FailedMessages prometheus.Counter }
Piped contains metrics to meter the number of piped messages.
type STANPipe ¶
type STANPipe struct { CMQ *cmq.CMQ Streaming *streaming.Streaming Tracer trace.Tracer Logger *zap.Logger }
Click to show internal directories.
Click to hide internal directories.