Documentation ¶
Index ¶
- func ConfigAdd(path string)
- func New(ctx context.Context, c *pubsub.Client) (publisher.Driver, error)
- func NewWithConfigPath(ctx context.Context, c *pubsub.Client, path string) (publisher.Driver, error)
- func NewWithOptions(ctx context.Context, c *pubsub.Client, options *Options) publisher.Driver
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
Options kafka connection options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals a given key path into options and returns it.
Click to show internal directories.
Click to hide internal directories.