Documentation ¶
Index ¶
Constants ¶
View Source
const ( Predeclared = iota Classic Quorum Stream )
Variables ¶
View Source
var AmqpDurabilityModes = map[AmqpDurabilityMode][]string{ None: {"none"}, Configuration: {"configuration"}, UnsettledState: {"unsettled-state"}, }
View Source
var QueueTypes = map[QueueType][]string{ Predeclared: {"predeclared"}, Classic: {"classic"}, Quorum: {"quorum"}, Stream: {"stream"}, }
Functions ¶
This section is empty.
Types ¶
type AmqpDurabilityMode ¶
type AmqpDurabilityMode enumflag.Flag
const ( None AmqpDurabilityMode = iota Configuration UnsettledState )
type AmqpOptions ¶
type Config ¶
type Config struct { ExpectedInstances int SyncName string ConsumerProto Protocol PublisherProto Protocol PublisherId string ConsumerId string Uri []string PublisherUri []string ConsumerUri []string ManagementUri []string Publishers int Consumers int SpreadConnections bool PublishCount int ConsumeCount int PublishTo string ConsumeFrom string Queues QueueType Exchange string BindingKey string CleanupQueues bool ConsumerCredits int ConsumerLatency time.Duration Size int Rate float32 MaxInFlight int Duration time.Duration UseMillis bool QueueDurability AmqpDurabilityMode MessageDurability bool MessagePriority string // to allow for "unset" value and STOMP takes strings anyway MessageTTL time.Duration StreamOffset string StreamFilterValues string StreamFilterValueSet string ConsumerPriority int32 Amqp AmqpOptions MqttPublisher MqttOptions MqttConsumer MqttOptions MetricTags map[string]string LogOutOfOrder bool PrintAllMetrics bool ConsumerStartupDelay time.Duration }
type MqttOptions ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.