-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.properties
64 lines (51 loc) · 1.9 KB
/
configuration.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
##
## kafka settings
##
kafka.bootstrap.servers=localhost:9092
kafka.client.id=kafkaclientid42
## uncomment and provide the following props to connect to an auth Kafka cluster
## or to address an azure event hub from the Kafka client
## kafka.security.protocol=SASL_SSL
## kafka.sasl.mechanism=PLAIN
## kafka.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="$ConnectionString" password="Endpoint=sb://evhnamespace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=XYZABCXYZABC=";
kafka.enable.auto.commit=true
##
## producer settings
##
producer.topic.name=ztopic73
producer.topic.create=true
producer.topic.create.partitions=3
producer.topic.create.replication=2
producer.events.per.batch=100
producer.events.max=10000
## event size is XS (1k), S (16k) , L (32k) , M (64k), XL (128k), XXL (256k), H (1M), XH (2M)
producer.events.size=M
producer.wait.after.batch.ms=1000
## use uniq for single partion producer, even_odd for two partition dispatching and even_odd_prime for three partitions
producer.topic.partitioner=even_odd
##
## consumer settings
##
consumer.topic.name=ztopic73
consumer.poll.interval.ms=1000
consumer.wait.after.poll.ms=100
consumer.group.id=ztesting
consumer.message.unit.print=false
##
## common azure settings
##
azure.rg.name=rgname
azure.namespace=evh_namespace_name
azure.hub=hubname
##
## azure services SAS auth, to use for producer/consumers on azure native api
##
azure.auth.saas.key.name=hub_saas_policy_name
azure.auth.saas.key.value=somekeyvalue=
##
## azure spn auth for metadata fetching via the azure native api
##
azure.auth.spn.client.id=12345XYZ-1242-6587-9012-cDEFGH
azure.auth.spn.tenant.id=12345XYZ-1242-6587-9012-cDEFGH
azure.auth.spn.subscription.id=12345XYZ-1242-6587-9012-cDEFGH
azure.auth.spn.client.secret=12345XYZ-1242-6587-9012-cDEFGH