-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.cfg
43 lines (33 loc) · 1.49 KB
/
config.cfg
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
# Default configurations
[default]
## A list for the context - Just formatted like an array. This is to set the default context
context = ["https://fiware.github.io/data-models/context.jsonld"]
## "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld"]
# Transformations to URN
[urn-transform]
## urn = std_urn_name - If this is the value, the id of the enties will be calculated from
## the URI value of RDF's file, something similar to this:
## id = urn:xxx:typeentity:identity
urn = std_urn_name_no
[type-transform]
## urn = std_type_name - If this is the value, the type will be calculated removing anything
## before the last ":" character. It can be other things and the name
## will be left as URI.
urn = std_type_name
[kafka-client]
## Cofiguration for de Kafka reader. It will connect to a topic in a server
servers = localhost:19092
topic = rdf-topic
# Timeout of reader. -1 means infinite.
reader_timeout = -1
[brokerld]
### NGSI-LD Broker basic URL to connect to when data is sent to NGSI-LD Broker.
url = http://localhost:1026
pool_size = 25
[kafka-demo]
## This is for testing purposes. It is used with the --to-kafka parameter and it will
## say how many messages are going to be sent, and the waiting time between them.
## Max number of messages to be sent (<0 means infinity)
max_messages_sent = 10
## thread.sleep between messages. It will send a message every... seconds
wait_between_messages = 0