Documentation ¶
Overview ¶
Package nats implements the NATS Streaming connector.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NatsSink ¶
type NatsSink struct {
// contains filtered or unexported fields
}
NatsSink connector
func NewNatsSink ¶
NewNatsSink returns a new NatsSink instance
type NatsSource ¶
type NatsSource struct {
// contains filtered or unexported fields
}
NatsSource connector
func NewNatsSource ¶
func NewNatsSource(ctx context.Context, conn stan.Conn, subscriptionType stan.SubscriptionOption, topics ...string) *NatsSource
NewNatsSource returns a new NatsSource instance
func (*NatsSource) Out ¶
func (ns *NatsSource) Out() <-chan interface{}
Out returns the output channel for the data
func (*NatsSource) Via ¶
func (ns *NatsSource) Via(_flow streams.Flow) streams.Flow
Via streams data through a given flow
Click to show internal directories.
Click to hide internal directories.