kafkasvc

package
v0.0.0-...-fc1c416 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(producer sarama.SyncProducer, brokers []string) kafkapb.KafkaServiceServer

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func (*Service) Consumer

func (s *Service) Consumer(ctx context.Context, input *kafkapb.ConsumerRequest) (*kafkapb.ConsumerResponse, error)

func (*Service) ConsumerStream

func (s *Service) ConsumerStream(input *kafkapb.ConsumerStreamRequest, server kafkapb.KafkaService_ConsumerStreamServer) (err error)

func (*Service) Producer

func (s *Service) Producer(ctx context.Context, input *kafkapb.ProducerRequest) (*kafkapb.ProducerResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL