Hi,
Responsible
OneSource
Description:
Producer with type File doesn't detect new events added to file.
Tested GE(s):
Proton CEP GE
Environment:
Local
Starting Proton CEP configured with a producer of type "File" only events
already in the file, representing the resource, are processed. Adding new
lines this file does not trigger new events being added to CEP engine. The
property poolingInterval of this producer does not seem to trigger the
detection of the new events. According to Proton Programmer Guide this
Pooling Interval property is supposed to configure " the interval for two
consecutive polls of the resource for updates". Is this the expected
result, only process events already in the file before the Proton startup
or should it detect new events appended to the file?
In attachment I send the proton configuration I used for testing as well as
the input event files. The path for the input files in the definition may
need to adjusted according to the final path.
For test I configured the definition file in attachment
(CEPGE_Testing.json) as the default definition file in Proton.properties.
Then launched Proton. The logs show the events already in the input files
to be inserted into Proton, but if I add more lines and save the files,
these new events are not inserted into Proton. I configured a Polling
interval of 1000 (1 second).
Proton was deployed into tomcat 7.0.26 running under Linux. I also tested
the standalone J2SE version with the same results. The CEP was downloaded
from Proton's github repo [0].
Best regards,
--
Pedro Alves
pgalves at onesource.pt
http://onesource.pt
[0] https://github.com/ishkin/Proton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141112/93ac7101/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CEPGE_Testing_def-input.zip
Type: application/zip
Size: 1974 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141112/93ac7101/attachment.zip>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy