forked from Azure/toketi-kafka-connect-iothub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
connect-iothub-source.properties
executable file
·61 lines (47 loc) · 2.61 KB
/
connect-iothub-source.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
############################# Connector Config #############################
# Identifies the Azure IoT Hub source connector.
# Do not change this if you want to use the Azure IotHub source connector
connector.class=com.microsoft.azure.iot.kafka.connect.source.IotHubSourceConnector
# Name of the connector
name=AzureIotHubConnector
# Maximum number of tasks that should be created for this connector.
# More tasks means more parallelism. For optimal performance,
# this should equal the number of Azure IoT Hub partitions
tasks.max=1
# Kafka topic to which the data should be written to
Kafka.Topic=PLACEHOLDER
############################# IoTHub Config #############################
# Azure IoT Hub settings can be retrieved from the Azure portal at
# https://portal.azure.com. For more information on how to get the IoT Hub settings,
# please refer to the documentation here -
# https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-create-through-portal#endpoints
# https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-java-java-getstarted
# "IoT Hub" >> your hub >> "Endpoints" >> "Events" >> "Event Hub-compatible name"
IotHub.EventHubCompatibleName=PLACEHOLDER
# "IoT Hub" >> your hub > "Endpoints" >> "Events" >> "Event Hub-compatible endpoint"
IotHub.EventHubCompatibleEndpoint=PLACEHOLDER
# "IoT Hub" >> your hub >> "Shared access policies"
# You can use the predefined value "service"
IotHub.AccessKeyName=PLACEHOLDER
# "IoT Hub" >> your hub >> "Shared access policies" >> key name >> "Primary key"
IotHub.AccessKeyValue=PLACEHOLDER
# "IoT Hub" >> your hub > "Endpoints" >> "Events" >> Consumer groups
# "$Default" is predefined value.
IotHub.ConsumerGroup=$Default
# "IoT Hub" >> your hub >> "Endpoints" >> "Events" >> "Partitions"
IotHub.Partitions=PLACEHOLDER
# The time from which to start retrieving messages from IoTHub.
# The value should be in UTC and in the format yyyy-mm-ddThh:mm:ssZ
# This setting is mutually exclusive with IotHub.Offsets.
# If StartTime is provided, the Offsets value will be ignored.
IotHub.StartTime=PLACEHOLDER
# The offsets for each IoTHub partition from which to start retrieving messages
# from IoTHub, as a comma separated string. For example, for 4 partitions,
# the value would be something like "abc,lmn,pqr,xyz".
# This setting is mutually exclusive with IotHub.StartTime.
# If StartTime is provided, the Offsets value will be ignored.
IotHub.Offsets=PLACEHOLDER
# The size of each batch for retrieving messages from IoTHub. The max supported value is 999.
BatchSize=100
# The max duration in seconds to wait for a full batch when retrieving messages from IoTHub. The default is 60.
ReceiveTimeout=60