...
For instructions on creating an UI event publisher, see Receiving Events . see Creating Alerts .
Configuring global properties
The following global properties can be set for the UI event publisher type in the <DAS_HOME>/repository/conf/input-event-adapters.xml
file. These properties apply to all the publishers of the ui
type. If a global property available by default is removed, the default value of the property is considered.
Property Key | Description | Data Type | Default Value |
---|---|---|---|
eventQueueSize | The maximum number of events allowed in the adapter queue when the rate at which a UI publisher receives events to be published higher than the rate at which the relevant UI is accepting the events. When the number of events received by the publisher exceeds the value specified for this property, the publisher stops accepting events until the events that are already in the queue get published. Therefore, if you want to reduce system latency, a higher queue size should be specified. | Integer | 30 |
minThread | The minimum number of threads (including idle threads) that should be available in the thread pool at a given time. | Integer | 8 |
maxThread | The maximum number of threads (including idle threads) that should be available in the thread pool at a given time. | Integer | 100 |
keepAliveTimeInMillis | The maximum number of milliseconds that idle threads should be kept alive when the total number of threads in the pool exceeds the number of cores in the machine. | Integer | 20000 |
jobQueueSize | The maximum number of milliseconds that idle threads should be kept alive when the total number of threads in the pool exceeds the number of cores in the machine. | Integer | 10000 |
Configuring adapter properties
There are not any adapter-specific properties for the UI event publisher as shown below.
Related samples
For more information on ui
event publisher type, see the following sample in CEP Documentation.