topic

package
v0.0.0-...-ed33083 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Topic

type Topic struct {
	Name              string
	ReplicationFactor int
	PartitionCount    int
	Partitions        []*partition.Partition
	Consumers         []consumer.Consumer
	Producers         []producer.Producer
}

func NewTopic

func NewTopic(name string, replicationFactor int, PartitionCount int, brokerURI string, etcdClient *clientv3.Client) Topic

Jump to

Keyboard shortcuts

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