...
Note |
---|
Note the following rules when defining the key:
Other than the above, you can't use dot(.) for key. |
...
Code Block | ||||
---|---|---|---|---|
| ||||
Event eventOne = new Event(streamId, System.currentTimeMillis(), new Object[]{"external"}, null, new Object[]{"IBM", 45, 2500},arbitraryData); dataPublisher.publish(eventOne); |
Info | ||
---|---|---|
| ||
To receive arbitrary values in the CEP, bucket needs to be configured properly but it does not need any special configuration. We need to follow same approach which we are using for Tuple mapping.
Example: If we defining the key-value as meta data then, |