Documentation
¶
Overview ¶
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License.
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License.
Index ¶
Constants ¶
const ( // standard to all tests MetricSent = "Sent" MetricReceived = "Received" MetricOwnershipLost = "OwnershipLost" // go specific MetricDeadlineExceeded = "DeadlineExceeded" )
metric names
const (
EventBalanceTest log.Event = "balance.test"
)
Variables ¶
This section is empty.
Functions ¶
func BalanceTester ¶
BalanceTester checks that we can properly distribute partitions and maintain it over time.
func BatchStressTester ¶
BatchStressTester sends a limited number of events and then consumes that set of events over and over to see what we get with different wait times.
func MultiBalanceTester ¶
MultiBalanceTester runs the BalanceTest multiple times against different combinations of partition acquisition strategy and number of processors.
NOTE: this test assumes that the Event Hub you're using has 32 partitions.
func ProcessorStressTester ¶
Types ¶
This section is empty.