grpc

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PublisherGrpcService

type PublisherGrpcService struct {
	Id     string
	Client pb.BrokerClient
	Config *models.PublisherConfig
}

func (*PublisherGrpcService) PublishMessage

func (p *PublisherGrpcService) PublishMessage(topic string, partition models.Partition, data string) error

PublishMessage publishes a data to a topic via a broker

Jump to

Keyboard shortcuts

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