On Wed, Mar 28, 2018 at 9:15 PM, Sajith Abeywardhana <sajith...@gmail.com> wrote:
> Hi Devs, > > How can I call the tenant specific wso2event receiver endpoint in the > DAS-3.1.0 from the EI event sink? > > I can call the HTTP event receiver endpoint in the DAS like this[1] from > the EI if the tenant is abc.com > > I need to do the same via the event sink by using wso2event receiver in > DAS side. Is this achievable? > If you are using super tenant credentials to publish events to WSO2Event receiver then events goes to tenant space in DAS. IMO, if possible it would be good to process events in super-tenant space and use some unique ID (in the event) to segregate the data in tenant specific manner. Check [1] for reference. [1] https://github.com/wso2/analytics-is/blob/master/features/org.wso2.analytics.is.feature/src/main/capp/realtime/AuthenticationAnalyticsExecutionPlan/IsAnalytics-ExecutionPlan-AuthenticationData.siddhiql#L61 Thanks, Mohan > > > > *[1]http://<DAS-IP>:<PORT>/endpoints/t/abc.com/temp-receiver > <http://abc.com/temp-receiver> * > Thanks, > Sajith. > > -- *V. Mohanadarshan* *Technical Lead,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com <http://wso2.com> * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev