...
Event publisher types
Anchor |
---|
| Event Publisher Types |
---|
| Event Publisher Types |
---|
|
Event publishers publish events via various transport protocols. These transports are implemented as output event adapters. Following are the adapters that are available by default. You can write extensions to support other transports.
...
Global properties can be set for individual output event adapter types in the <CEP_HOME>/repository/conf/output-event-adapters.xml
file. A global property set for an output event adapter type in this file applies to all the publishers with that adapter type. If a property available for an adapter type by default is removed, the default value of the property applies. Click the relevant tab to view the properties available by default for a specific output event adapter type.
Info |
---|
Custom properties cannot be added as global properties. |
...
Localtab |
---|
|
When the output event adapter type is RDBMS , it is allowed to change the queries used to perform the standard database operations. This enables you to use RDBMS database types that use different queries. Customised values can be defined for the following used in standard queries. Attribute/activity | Current query |
---|
string | VARCHAR(255) | double | DOUBLE | integer | INT | long | BIGINT | float | FLOAT | createTable | CREATE TABLE $TABLE_NAME ($COLUMN_TYPES) | insertDataToTable | INSERT INTO $TABLE_NAME ($COLUMNS) VALUES ($VALUES) | isTableExist | SELECT * FROM $TABLE_NAME limit 1 | updateTableRow | UPDATE $TABLE_NAME SET $COLUMN_VALUES WHERE $CONDITION | comma | , | questionMark | ? | equal | = | and | AND | selectAllColumnsDataTypeInTable | SELECT COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '$TABLE_NAME' | selectFromTable | SELECT $COLUMNS FROM $TABLE_NAME | oracle.string | varchar2(255) | oracle.long | CLOB | oracle.double | BINARY_DOUBLE | oracle.isTableExist | SELECT * FROM $TABLE_NAME WHERE ROWNUM = 1 | oracle.selectAllColumnsDataTypeInTable | SELECT COLUMN_NAME, DATA_TYPE FROM USER_TAB_COLS WHERE TABLE_NAME = '$TABLE_NAME' | mssql.string | varchar2(255) | mssql.isTableExist | SELECT TOP 1 * FROM $TABLE_NAME | mssql.selectAllColumnsDataTypeInTable | SELECT COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '$TABLE_NAME' | h2.integer | varchar2(255) | h2.long | REAL | h2.selectAllColumnsDataTypeInTable | SHOW COLUMNS FROM $TABLE_NAME |
|
Localtab |
---|
|
The following properties are available for the http output event adapter type. Property Key | Description | Data Type | Default Value |
---|
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 size of the queue that is used to hold events before they are forwarded to the event stream. | Integer | 10000 | defaultMaxConnectionsPerHost | The maximum number of connections allowed per host configuration. | Integer | 50 | maxTotalConnections | The maximum number of connections allowed overall. | Integer | 1000 |
|
Localtab |
---|
|
The following properties are available for the jms output event adapter type. Property Key | Description | Data Type | Default Value |
---|
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 |
|
Localtab |
---|
|
The following properties are available for the mqtt output event adapter type. Property Key | Description | Data Type | Default Value |
---|
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 | connectionKeepAliveInterval | The time interval in milliseconds at which a check should be carried out to identify inactive threads. | Integer | 60 |
|
Localtab |
---|
|
The following properties are available for the kafka output event adapter type. Property Key | Description | Data Type | Default Value |
---|
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 |
|
Localtab |
---|
|
The following properties are available for the email output event adapter type. Property Key | Description | Data Type | Default Value |
---|
mail.smtp.from | The email address used by the publisher to publish events. | String | abcd@gmail.com | mail.smtp.user | The username used by the publisher to publish events via email. | String | abcd | mail.smtp.password | The password used by the publish events via email. | String | xxxx | mail.smtp.host | The host of the email server. | String | smtp.gmail.com | mail.smtp.port | The port of the email server. | Integer | 587 | mail.smtp.starttls.enable | This property specifies whether STARTTLS encryption is enabled or not. STARTTLS is an extension which enables a plain text connection to be upgraded to an encrypted (SSL or TLS) connection. | Boolean | true | mail.smtp.auth | This property specifies whether SMTP authentication is enabled or not. | Boolean | true | 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 |
|
Localtab |
---|
|
The following properties are available for the UI output event adapter type. 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 |
|
Localtab |
---|
|
The following properties are available for the websocket-local output event adapter type. Property Key | Description | Data Type | Default Value |
---|
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 |
|
Localtab |
---|
|
The following properties are available for the websocket output event adapter type. Property Key | Description | Data Type | Default Value |
---|
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 |
|
...
The following properties are available for the soap output event adapter type.
...
Event publisher configuration
...