[
https://issues.apache.org/jira/browse/STREAMPIPES-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17433909#comment-17433909
]
Philipp Zehnder commented on STREAMPIPES-449:
---------------------------------------------
Hi,
the declareModel is called when the component is registered and installed the
backend.
The onInvocation is called when the pipeline containing this element is started
and the onEvent is then called for each event of the data stream.
I hope this helps. So if you use the component within a pipeline your log
messages should be printed. Does this work?
> Update Processing Element API in module streampipes-processors-filters-jvm
> --------------------------------------------------------------------------
>
> Key: STREAMPIPES-449
> URL: https://issues.apache.org/jira/browse/STREAMPIPES-449
> Project: StreamPipes
> Issue Type: Improvement
> Components: Pipeline Elements
> Reporter: Philipp Zehnder
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.69.0
>
>
> The processors in this module use the old API, where 3 classes are required
> for a single processing element.
> These should be updated to use StreamPipesDataProcessor instead of
> StreamPipesDataProcessor.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)