Documentation
¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) CreateTopic(ctx context.Context, topic string, partitions, replication int) error
- func (c *Client) DeleteTopics(ctx context.Context, topics ...string) error
- func (c *Client) ListTopics() ([]string, error)
- func (c *Client) WriteMessages(ctx context.Context, topic string, msg ...kafka.Message) error
- type Option
- type Options
- type Producer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateTopic ¶
func (*Client) DeleteTopics ¶
func (*Client) ListTopics ¶
type Option ¶
type Option func(*Options)
func WithAddress ¶
func WithPlainSASL ¶
func WithSCRAMSASL ¶
Click to show internal directories.
Click to hide internal directories.