* Added link credit support to message sender and receiver; reworked message receiver creation to move to the partition client object * Added round trip test, including filters; fixed a hang with the consumer client caused by no messages; fixed checkpoint store storage names. * EventDataBatch is created from EventProducer. Fixes #4868 * SendEventDataBatch renamed to Send; pass in Context on methods which require a context * Added producer client send APIs without requiring an explicit event data batch * close message receiver in destructor if it is open * Consumer client and producer client only create message sender and receiver when needed
73 lines
2.3 KiB
YAML
73 lines
2.3 KiB
YAML
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
|
|
trigger:
|
|
batch: true
|
|
branches:
|
|
include:
|
|
- main
|
|
- feature/*
|
|
- release/*
|
|
- hotfix/*
|
|
paths:
|
|
include:
|
|
- sdk/eventhubs
|
|
|
|
pr:
|
|
branches:
|
|
include:
|
|
- main
|
|
- feature/*
|
|
- release/*
|
|
- hotfix/*
|
|
paths:
|
|
include:
|
|
- sdk/eventhubs
|
|
- eng/common/testproxy
|
|
|
|
stages:
|
|
- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
|
|
parameters:
|
|
ServiceDirectory: eventhubs
|
|
CtestRegex: "azure-messaging-eventhubs.*"
|
|
LiveTestCtestRegex: "azure-messaging-eventhubs.*"
|
|
LiveTestTimeoutInMinutes: 120
|
|
LineCoverageTarget: 40
|
|
BranchCoverageTarget: 20
|
|
Artifacts:
|
|
- Name: azure-messaging-eventhubs
|
|
Path: azure-messaging-eventhubs
|
|
VcpkgPortName: azure-messaging-eventhubs-cpp
|
|
ArtifactsSource:
|
|
- Name: azure-messaging-eventhubs
|
|
Path: azure-messaging-eventhubs
|
|
VcpkgPortName: azure-messaging-eventhubs-cpp
|
|
TestEnv:
|
|
- Name: AZURE_TENANT_ID
|
|
Value: "33333333-3333-3333-3333-333333333333"
|
|
- Name: AZURE_CLIENT_ID
|
|
Value: "non-real-client"
|
|
- Name: AZURE_CLIENT_SECRET
|
|
Value: "non-real-secret"
|
|
- Name: AZURE_SUBSCRIPTION_ID
|
|
Value: "non-real-sub"
|
|
- Name: EVENTHUB_CONSUMER_GROUP
|
|
Value: "defaultgroup"
|
|
- Name: EVENTHUB_NAME
|
|
Value: "non-real-eventhub-name"
|
|
- Name: EVENTHUB_CONNECTION_STRING
|
|
Value: "Endpoint=sb://notReal.servicebus.windows.net/;SharedAccessKeyName=notReal"
|
|
- Name: CHECKPOINTSTORE_STORAGE_CONNECTION_STRING
|
|
Value: "DefaultEndpointsProtocol=https;AccountName=notReal;AccountKey=3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333;EndpointSuffix=core.windows.net"
|
|
|
|
CMakeTestOptions:
|
|
- Name: Default
|
|
Value: ''
|
|
- Name: Test
|
|
Value: '-DBUILD_TESTING=ON'
|
|
- Name: Samples
|
|
Value: '-DBUILD_TESTING=ON -DBUILD_SAMPLES=ON'
|
|
- Name: Performance
|
|
Value: '-DBUILD_TESTING=ON -DBUILD_SAMPLES=ON -DBUILD_PERFORMANCE_TESTS=ON'
|
|
CMakeSourceTestOptions:
|
|
- Name: Source
|
|
Value: '-DFETCH_SOURCE_DEPS=OFF'
|