Hi Dushani,

I'm not sure it is possible to publish event async to google APIs. But we
can implement in a way that handover the event publishing task to a
separate thread and continue.
So please create a git issue and we will looking to it.

Thanks and Regards

On Wed, Mar 7, 2018 at 3:11 PM, Dushani Wellappili <dusha...@wso2.com>
wrote:

> Hi all,
>
> The api-manager gateway performs a https GET call to publish to google
> analytics [1]. It is a synchronous call.
>
> If so, the round trip time for an api invocation would depend on the
> Internet connection speed in publishing to google analytics.
>
> Is there any specific reason for making the call, synchronous?
>
> Appreciate your comments on this.
>
> [1] https://github.com/wso2/carbon-commons/blob/master/
> components/ganalytics/org.wso2.carbon.ganalytics.
> publisher/src/main/java/org/wso2/carbon/ganalytics/publisher/
> GoogleAnalyticsDataPublisher.java#L81
>
> Thank you,
> Regards
>
>
> *Dushani Wellappili*
> Software Engineer - WSO2
>
> Email : dusha...@wso2.com
> Mobile : +94779367571 <+94%2077%20936%207571>
> Web : https://wso2.com/
>
>
>


-- 
Rukshan Chathuranga.
Software Engineer.
WSO2, Inc.
+94711822074
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to