Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Handling high freq in batches #253

Merged
merged 2 commits into from
Mar 2, 2021
Merged

Handling high freq in batches #253

merged 2 commits into from
Mar 2, 2021

Conversation

malish8632
Copy link
Contributor

Since PubSubPluginSync.sendBatches() uses exactly the same line added here we could use .sendMetrics() and detect high frequency metrics.

public AsyncFuture<Void> sendBatches(Collection<Batch> batches) { final List<Metric> metrics = BatchMetricConverter.convertBatchesToMetrics(batches); return sendMetrics(metrics); }

@lmuhlha lmuhlha merged commit 61a305b into master Mar 2, 2021
@delete-merged-branch delete-merged-branch bot deleted the high-freq-batches branch March 2, 2021 16:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants