Documentation ¶
Index ¶
- Constants
- func New(lgr log.Logger, registry metrics.Registry, cp coordinator.Coordinator, ...) providers.Provider
- func NewSource(transferID string, cfg *EventHubSource, logger log.Logger, ...) (abstract.Source, error)
- type EventHubAuth
- type EventHubSource
- func (s *EventHubSource) GetProviderType() abstract.ProviderType
- func (s *EventHubSource) IsAppendOnly() bool
- func (s *EventHubSource) IsDefaultMirror() bool
- func (s *EventHubSource) IsSource()
- func (s *EventHubSource) Parser() map[string]interface{}
- func (s *EventHubSource) Validate() error
- func (s *EventHubSource) WithDefaults()
- type Provider
- type Source
Constants ¶
View Source
const ( EventHubAuthSAS = "SAS" ProviderType = abstract.ProviderType("eventhub") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventHubAuth ¶
type EventHubAuth struct {
Method, KeyName string
KeyValue model.SecretString
}
type EventHubSource ¶
type EventHubSource struct { NamespaceName string HubName string ConsumerGroup string Topic string StartingOffset string StartingTimeStamp *time.Time Auth *EventHubAuth Transformer *model.DataTransformOptions ParserConfig map[string]interface{} }
func (*EventHubSource) GetProviderType ¶
func (s *EventHubSource) GetProviderType() abstract.ProviderType
func (*EventHubSource) IsAppendOnly ¶
func (s *EventHubSource) IsAppendOnly() bool
func (*EventHubSource) IsDefaultMirror ¶
func (s *EventHubSource) IsDefaultMirror() bool
func (*EventHubSource) IsSource ¶
func (s *EventHubSource) IsSource()
func (*EventHubSource) Parser ¶
func (s *EventHubSource) Parser() map[string]interface{}
func (*EventHubSource) Validate ¶
func (s *EventHubSource) Validate() error
func (*EventHubSource) WithDefaults ¶
func (s *EventHubSource) WithDefaults()
Click to show internal directories.
Click to hide internal directories.