kafka

package
v0.0.0-...-2dd5fde Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseGossipService

func CloseGossipService()

CloseGossipService for closing the connection

func ConnectGossipService

func ConnectGossipService()

ConnectGossipService for connection to the service

func GetBlocks

func GetBlocks(id string) []pb2.Block

GetBlocks for getting the bunch of blocks

func GetProducer

func GetProducer() sarama.AsyncProducer

GetProducer for getting producer

func GetSpecificBlock

func GetSpecificBlock(id string) pb2.Block

GetSpecificBlock for getting specific block

func SendTx

func SendTx(produce sarama.AsyncProducer, a []byte)

SendTx for ...

func StartConsumer

func StartConsumer(produce sarama.AsyncProducer)

StartConsumer for consume

func StartProducer

func StartProducer() sarama.AsyncProducer

StartProducer for producer

func StopProducer

func StopProducer(producer sarama.AsyncProducer)

StopProducer for stoping

Types

This section is empty.

Jump to

Keyboard shortcuts

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