Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigBufferSize = "bufferSize" ConfigConnectionName = "connectionName" ConfigCredentialsFilePath = "credentialsFilePath" ConfigMaxReconnects = "maxReconnects" ConfigNkeyPath = "nkeyPath" ConfigReconnectWait = "reconnectWait" ConfigSubject = "subject" ConfigTlsClientCertPath = "tls.clientCertPath" ConfigTlsClientPrivateKeyPath = "tls.clientPrivateKeyPath" ConfigTlsRootCACertPath = "tls.rootCACertPath" ConfigUrls = "urls" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { common.Config // A buffer size for consumed messages. BufferSize int `json:"bufferSize" default:"1024" validate:"gt=63"` }
Config holds source specific configurable values.
type Iterator ¶
type Iterator interface { HasNext() bool Next(ctx context.Context) (opencdc.Record, error) Stop() error }
Iterator defines an iterator interface.
type Source ¶
type Source struct { sdk.UnimplementedSource // contains filtered or unexported fields }
Source operates source logic.
func (*Source) Parameters ¶
func (s *Source) Parameters() config.Parameters
Parameters returns a map of named config.Parameters that describe how to configure the Source.
Click to show internal directories.
Click to hide internal directories.