Package io.quarkus.analytics.rest
Interface SegmentClient
-
- All Known Implementing Classes:
RestClient
public interface SegmentClientClient to post the analytics data to the upstream collection tool.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<HttpResponse<String>>postIdentity(Identity identity)Posts the anonymous identity to the upstream collection tool.CompletableFuture<HttpResponse<String>>postTrack(Track track)Posts the trace to the upstream collection tool.
-
-
-
Method Detail
-
postIdentity
CompletableFuture<HttpResponse<String>> postIdentity(Identity identity)
Posts the anonymous identity to the upstream collection tool. Usually this is done once per user's UUID- Parameters:
identity-
-
postTrack
CompletableFuture<HttpResponse<String>> postTrack(Track track)
Posts the trace to the upstream collection tool. This contains the actual data to be collected.- Parameters:
track-
-
-