azure-sdk-for-js/sdk/eventhub/sample.env

21 строка
1.2 KiB
Bash

# Basic info that will be required all the time.
EVENTHUB_CONNECTION_STRING="Endpoint=sb://<yournamespace>.servicebus.windows.net/;SharedAccessKeyName=<key-name>;SharedAccessKey=<key-secret>"
EVENTHUB_CONNECTION_STRING_BROWSER="Endpoint=sb://<yournamespace>.servicebus.windows.net/;SharedAccessKeyName=<key-name>;SharedAccessKey=<key-secret>"
EVENTHUB_NAME=<hub-name>
# If you are interested in looking at the detailed debug logs.
DEBUG="azure*,rhea*"
# The message encodings and transformation are repetitive and cause the log size to increase tremendously.
# If you are not interested in viewing the message transformation then you can set the debug env. variable as follows:
DEBUG=azure*,rhea*,-rhea:raw,-rhea:message,-azure:amqp-common:datatransformer
# If you are using the Azure AD Credentials like ServicePrincipal, MSIToken, etc.
ENDPOINT="<namespace>.servicebus.windows.net"
APPLICATION_SECRET="<service principal secret>"
CLIENT_ID="<service principal client id>"
DOMAIN="<tenant id>"
AZURE_SUBSCRIPTION_ID="<subscription id>"
# For EventProcessorHost (EPH).
STORAGE_CONNECTION_STRING="DefaultEndpointsProtocol=https;AccountName=<storage account name>;AccountKey=<account key>;EndpointSuffix=core.windows.net"