qmp-testing-suite/golang-producer-consumer/vendor/gitlab-app.eng.qops.net/golang/qmp/internal/config/qmpconst.go

24 lines
589 B
Go
Executable File

package config
import uuid "github.com/satori/go.uuid"
const (
// SchemaIDConfiguration is the schema ID for configuration
// topic updates.
SchemaIDConfiguration = "qmp.configuration.v1"
)
const (
// TopicStateConfig is the topic name of the configuration
// kafka topic.
TopicStateConfig = "qmp.state.config"
// TopicStateThrottle is the topic name of the producer
// throttle event kafka topic.
TopicStateThrottle = "qmp.state.throttle"
)
var (
// GroupStateTopic is the group name for the RecordStateConsumer.
GroupStateTopic = "group-id-2do-" + uuid.NewV4().String()
)