Documentation ¶
Index ¶
- func BenchSubscriber(b *testing.B, pubSubConstructor BenchmarkPubSubConstructor)
- func TestNoGroupSubscriber(t *testing.T, pubSubConstructor PubSubConstructor, ...)
- func TestPubSub(t *testing.T, features Features, pubSubConstructor PubSubConstructor, ...)
- func TestPubSubStressTest(t *testing.T, features Features, pubSubConstructor PubSubConstructor, ...)
- type BenchmarkPubSubConstructor
- type ConsumerGroupPubSubConstructor
- type Features
- type NoGroupSubscriberConstructor
- type PubSubConstructor
- type SimpleMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BenchSubscriber ¶
func BenchSubscriber(b *testing.B, pubSubConstructor BenchmarkPubSubConstructor)
func TestNoGroupSubscriber ¶
func TestNoGroupSubscriber( t *testing.T, pubSubConstructor PubSubConstructor, noGroupSubscriberConstructor NoGroupSubscriberConstructor, )
func TestPubSub ¶
func TestPubSub( t *testing.T, features Features, pubSubConstructor PubSubConstructor, consumerGroupPubSubConstructor ConsumerGroupPubSubConstructor, )
func TestPubSubStressTest ¶
func TestPubSubStressTest( t *testing.T, features Features, pubSubConstructor PubSubConstructor, consumerGroupPubSubConstructor ConsumerGroupPubSubConstructor, )
Types ¶
type NoGroupSubscriberConstructor ¶
type NoGroupSubscriberConstructor func(t *testing.T) message.Subscriber
type SimpleMessage ¶
type SimpleMessage struct {
Num int `json:"num"`
}
Click to show internal directories.
Click to hide internal directories.