connection

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

README

Apache Pulsar Connection

This connection connects to apache pulsar.

Flogo CLI
flogo install github.com/project-flogo/messaging-contrib/pulsar/connection

Configuration

Settings:
Name Type Description
url string The url used to connect to pulsar - REQUIRED
athenzAuth params The params used for Athenz Authentication
certFile string The location of the certificate file used in TLS.
keyFile string The location of the key file used in TLS.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
}

func (*Factory) NewManager

func (*Factory) NewManager(settings map[string]interface{}) (connection.Manager, error)

func (*Factory) Type

func (*Factory) Type() string

type PulsarConnection

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

func (*PulsarConnection) GetConnection

func (p *PulsarConnection) GetConnection() interface{}

func (*PulsarConnection) ReleaseConnection

func (p *PulsarConnection) ReleaseConnection(connection interface{})

func (*PulsarConnection) Start

func (p *PulsarConnection) Start() error

func (*PulsarConnection) Stop

func (p *PulsarConnection) Stop() error

func (*PulsarConnection) Type

func (p *PulsarConnection) Type() string

type Settings

type Settings struct {
	URL                  string            `md:"url,required"`
	AthenzAuthentication map[string]string `md:"athenzAuth"`
	CertFile             string            `md:"certFile"`
	KeyFile              string            `md:"keyFile"`
}

Jump to

Keyboard shortcuts

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