Documentation
¶
Index ¶
- type KafkaSource
- func (s *KafkaSource) Ack(ctx context.Context, msg hermod.Message) error
- func (s *KafkaSource) Close() error
- func (s *KafkaSource) IsReady(ctx context.Context) error
- func (s *KafkaSource) Ping(ctx context.Context) error
- func (s *KafkaSource) Read(ctx context.Context) (hermod.Message, error)
- func (s *KafkaSource) Sample(ctx context.Context, table string) (hermod.Message, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaSource ¶
type KafkaSource struct {
// contains filtered or unexported fields
}
func NewKafkaSource ¶
func NewKafkaSource(brokers []string, topic, groupID string, username, password string) *KafkaSource
func (*KafkaSource) Close ¶
func (s *KafkaSource) Close() error
Click to show internal directories.
Click to hide internal directories.