Drools support for kafka topics
[policy/drools-pdp.git] / feature-pooling-dmaap / src / main / feature / config / feature-pooling-dmaap.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # feature-pooling-dmaap
4 # ================================================================================
5 # Copyright (C) 2018-2020 AT&T Intellectual Property. All rights reserved.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #      http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
19 ###
20
21 # In general, the feature-specific properties begin with "pooling",
22 # and they may be made specific to a controller by prepending with
23 # "pooling.<controller-name>", instead.
24 #
25 # The available properties and their default values are shown below.
26
27 # Whether or not the feature is enabled.
28 #pooling.enabled=false
29
30 # The internal DMaaP topic used by a controller.  Note: the controller
31 # name is required for this property.
32 #pooling.<controller-name>.topic =
33
34 # Maximum number of events to retain in the queue while a new host waits
35 # to be assigned work.
36 #pooling.offline.queue.limit=1000
37
38 # Maximum age, in milliseconds, of events to be retained in the queue.
39 # Events older than this are discarded. 
40 #pooling.offline.queue.age.milliseconds=60000
41
42 # Time, in milliseconds, to wait for an "Offline" message to be published
43 # to DMaaP before the connection may be closed.
44 #pooling.offline.publish.wait.milliseconds=3000
45
46 # Time, in milliseconds, to wait for this host's initial heart beat.  This
47 # is used to verify connectivity to the internal DMaaP topic.
48 #pooling.start.heartbeat.milliseconds=100000
49
50 # Time, in milliseconds, to wait before attempting to re-active this
51 # host when it was not assigned any work.
52 #pooling.reactivate.milliseconds=50000
53
54 # Time, in milliseconds, to wait for other hosts to identify themselves
55 # when this host is started.
56 #pooling.identification.milliseconds=50000
57
58 # Time, in milliseconds, to wait for heart beats from this host, or its
59 # predecessor, during the active state.
60 #pooling.active.heartbeat.milliseconds=50000
61
62 # Time, in milliseconds, to wait between heart beat generations.
63 #pooling.inter.heartbeat.milliseconds=15000
64
65 # Topic used for inter-host communication for a particular controller
66 # pooling.<controller-name>.topic=XXX
67
68 # Each controller that is enabled should have its own topic and the
69 # corresponding dmaap.xxx properties.  However, for now, just assume that
70 # the usecases features will not both be enabled at the same time.
71
72 pooling.usecases.enabled=true
73 pooling.usecases.topic=${env:POOLING_TOPIC}
74
75 # the list of sources and sinks should be identical
76 dmaap.source.topics=POOLING_TOPIC
77 dmaap.sink.topics=POOLING_TOPIC
78
79 dmaap.source.topics.POOLING_TOPIC.servers=${env:DMAAP_SERVERS}
80 dmaap.source.topics.POOLING_TOPIC.effectiveTopic=${env:POOLING_TOPIC}
81 dmaap.source.topics.POOLING_TOPIC.apiKey=
82 dmaap.source.topics.POOLING_TOPIC.apiSecret=
83
84 dmaap.sink.topics.POOLING_TOPIC.servers=${env:DMAAP_SERVERS}
85 dmaap.sink.topics.POOLING_TOPIC.effectiveTopic=${env:POOLING_TOPIC}
86 dmaap.sink.topics.POOLING_TOPIC.apiKey=
87 dmaap.sink.topics.POOLING_TOPIC.apiSecret=