Creating Custom IO extension type

22 views
Skip to first unread message

Girish N

unread,
Jun 16, 2021, 10:14:27 AM6/16/21
to siddhi-dev
Hi,

We are trying to  create a custom io extension type by following the steps mentioned in the below url


After implementing the extension logic, we have built the source and placed the jar in the bundle folder of wso2-analytics. But we are getting below error, when the siddhi containing the custom extension is deployed

[2021-06-16 08:49:17,081] ERROR {org.wso2.carbon.streaming.integrator.core.internal.StreamProcessorDeployer} - io.siddhi.core.exception.SiddhiAppCreationException: Error on 'TEST_CUSTOM_SIDDHI' @ Line: 26. Position: 92, near '@sink(type='sms', @map(type='json', @payload(message='{{message}}', mobiles='{{mobiles}}')))'. No extension exist for sink:sms org.wso2.carbon.streaming.integrator.core.internal.exception.SiddhiAppDeploymentException: io.siddhi.core.exception.SiddhiAppCreationException: Error on 'TEST_CUSTOM_SIDDHI' @ Line: 26. Position: 92, near '@sink(type='sms', @map(type='json', @payload(message='{{message}}', mobiles='{{mobiles}}')))'. No extension exist for sink:sms

Please let us know, if the approach is correct and what we can do to fix this issue.

Thanks & Regards
Girish N
Reply all
Reply to author
Forward
0 new messages