wso2 / product-sp

An open source, cloud-native streaming data integration and analytics product optimized for agile digital businesses
https://wso2.com/analytics-and-stream-processing/
Apache License 2.0
120 stars 132 forks source link

Output rate limiting doesn't work inside a partition #624

Open nirmal070125 opened 6 years ago

nirmal070125 commented 6 years ago

Description:

Following does not output anything to the event table;

@info(name='suppress the alerts') 
partition with ( userid of emailAlertStream )
begin

    from emailAlertStream 
    select * 
    group by userid, emailid
    output last every 30 sec
    insert into emailAlertTable;
end;

Suggested Labels:

Suggested Assignees:

Affected Product Version: SP 4.1.0

OS, DB, other environment details and versions:

Steps to reproduce: Use output rate limiting within a partition

Related Issues:

suhothayan commented 6 years ago

Fixed

tishan89 commented 6 years ago

Fixed with https://github.com/wso2/siddhi/pull/833 . Will be available in product-sp in the next release.

karanlik commented 5 years ago

Hi,

What about for those who are using "siddhi-sdk" ? As far as I see siddhi-sdk is using siddhi-core "4.1.46" at its latest version (1.0.3)?

Any advice ?

Best regards

suhothayan commented 5 years ago

Will work on fixing the siddhi-sdk and then close this issue.