-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpywis-pubsub-config.yml
113 lines (90 loc) · 2.64 KB
/
pywis-pubsub-config.yml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# RFC1738 URL
broker: mqtts://localhost:1883
# RFC1738 URL with credentials
#broker: mqtts://username:password@localhost:1883
# list of topics to subscribe to
subscribe_topics:
- '#'
# topic to publish to
publish_topic: foo/bar
# qos (default is 1)
#qos: 1
# mqtt client id - randomly generated if not set
client_id: pywis-pubsub-testing
# clean mqtt session on connection. Set to false to start from server saved offset
clean_session: true
# whether to verify data
verify_data: true
# TLS settings
# whether to verify server certificates (default=true)
# verify_certs: false
# PEM encoded client certificate
# certfile: /path/to/file.cert
# private key
# keyfile: /path/to/file.key
# whether to validate message against schema
validate_message: true
# storage: filesystem
storage:
type: fs
options:
basedir: /tmp/foo/bar
# filepath can be one of:
# - data_id: 'properties.data_id' in the message (default)
# - link: the local path in the canonical link
# - combined: data_id + file extension either from link or guessing the media type
filepath: data_id
# storage: s3
# NOTE: if S3 credentials are required, set the following environment variables:
# - AWS_ACCESS_KEY_ID: username
# - AWS_SECRET_ACCESS_KEY: password
#
# no additional configuration is required below
#storage:
# type: S3
# options:
# url: http://localhost:9001
# bucket: some-bucket
#
# advanced functionality: add your own code/workflow/trigger
#
# hook: # trigger that implements pywis-pubsub Hook (pywis_pubsub.hook.Hook)
#
# test hook available from pywis_pubsub.hook.TestHook
#hook: pywis_pubsub.hook.TestHook
# added for mqp-subscriber
wis2box: true
toSubscribe: true
sub_host: oflkd011.dwd.de
sub_port: 8883
sub_protocol: mqtts
sub_protocol_version: MQTTv5
sub_user: everyone
sub_password: everyone
sub_clientname: mqp-subscriber"
sub_topic: ["cache/v04/#"]
sub_logfile: /usr/src/sub/logs/dwd.log
sub_loglevel: INFO
sub_maxMSGsize: 2048
sub_share_name: wis2box_mygroupname
sub_share_quantity: 5
show_message: False
msg_store: /usr/src/sub/msg_store/
withDownload: true
useAria2: false
# download_targetDir: /data/pywis-pubsub/data/aria2-downloads/
# download_toDoDir: /usr/src/sub/toDownload/
# download_whitelist: /data/pywis-pubsub/config/mqp-subscriber/whitelist.txt
download_targetDir: targetDownload/
download_toDoDir: toDownload/
download_whitelist: whitelist.txt
filedownloadURL: true
download_proxy: ""
download_logfile: /usr/src/sub/logs/dwd_download.log
download_loglevel: INFO
download_onlyCore: true
download_restricted: false
#download_username:
#download_password:
download_format: []
monitor_metrics": false