queuing

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 21 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KafkaState kafkaState

Functions

func InitializeKafka

func InitializeKafka(nodeList []string, cliContext context.CLIContext)

func NewKafkaMsgFromRest

func NewKafkaMsgFromRest(msg sdk.Msg, ticketID TicketID, baseRequest rest.BaseReq, cliCtx context.CLIContext) kafkaMsg

NewKafkaMsgFromRest : makes a msg to send to kafka queue

func NewKafkaState

func NewKafkaState(nodeList []string) *kafkaState

NewKafkaState : returns a kafka state

func RegisterRoutes

func RegisterRoutes(cliContext context.CLIContext, router *mux.Router)

func SendToKafka

func SendToKafka(kafkaMsg kafkaMsg, codec *codec.Codec) []byte

SendToKafka : handles sending message to kafka

Types

type TicketID

type TicketID string

TicketID : is a type that implements string

Jump to

Keyboard shortcuts

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