pubsub

package module
v2.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

README

krakend-pubsub

a pubsub backend for the KrakenD framework

Backends

  • AWS SNS (Simple Notification Service) and SQS (Simple Queueing Service)
  • Azure Service Bus Topic and Subscription
  • GCP PubSub
  • NATS.io
  • RabbitMQ

Configuration

Just add the extra config at your backend:

"github.com/devopsfaith/krakend-pubsub/subscriber": {
	"subscription_url": "gcppubsub://project/topic"
}
"github.com/devopsfaith/krakend-pubsub/publisher": {
	"topic_url": "gcppubsub://project/topic"
}

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OpenCensusViews = pubsub.OpenCensusViews

Functions

This section is empty.

Types

type BackendFactory

type BackendFactory struct {
	// contains filtered or unexported fields
}

func NewBackendFactory

func NewBackendFactory(ctx context.Context, logger logging.Logger, bf proxy.BackendFactory) *BackendFactory

func (*BackendFactory) New

func (f *BackendFactory) New(remote *config.Backend) proxy.Proxy

type NamespaceNotFoundErr

type NamespaceNotFoundErr struct {
	Namespace string
}

func (*NamespaceNotFoundErr) Error

func (n *NamespaceNotFoundErr) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL