forked from Azure/azure-event-hubs-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.env
19 lines (16 loc) · 1.05 KB
/
sample.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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_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"