Documentation ¶
Index ¶
Constants ¶
View Source
const ( NatsURL = "natsURL" NatsStreamingClusterID = "natsStreamingClusterID" )
compulsory options
View Source
const ( ConsumerID = "consumerID" // passed in by Dapr runtime SubscriptionType = "subscriptionType" )
View Source
const (
DriverName = "natsstreaming"
)
Nats url format with user credentials: DefaultURL = "nats://nats_client:W64f8c6vG6@192.168.0.253:31476"
Variables ¶
This section is empty.
Functions ¶
func NewConnector ¶
Types ¶
type PubSubDriver ¶
type PubSubDriver struct {
// contains filtered or unexported fields
}
NatsStreamingPubSubDriver -
func (*PubSubDriver) Features ¶
func (d *PubSubDriver) Features() map[string]bool
Todo: natsstreaming realized ack, queue sub but not ordering. Features design from dapr components-contrib.
func (*PubSubDriver) OpenConnector ¶
func (*PubSubDriver) SatisfyFeatures ¶
func (d *PubSubDriver) SatisfyFeatures(m protocol.Metadata) ([]string, bool)
Click to show internal directories.
Click to hide internal directories.