diff --git a/src/main/java/com/meteroid/api/Events.java b/src/main/java/com/meteroid/api/Events.java index bf07538..68bda1f 100644 --- a/src/main/java/com/meteroid/api/Events.java +++ b/src/main/java/com/meteroid/api/Events.java @@ -44,8 +44,8 @@ public WithRawResponse withRawResponse() { *
Ingest usage events for metering and billing purposes. * *
Events are deduplicated by (event_id, customer_id) — re-sending the same pair
- * will not be double-counted. If timestamps differ across duplicates, the event with the latest
- * timestamp is used.
+ * will not be double-counted. The first copy received is kept and later copies are ignored,
+ * whatever they change.
*
*
By default, any invalid event rejects the entire batch. Set allow_partial_failures
* to true to ingest valid events and receive per-event failure details in
@@ -64,8 +64,8 @@ public IngestEventsResponse ingest(final IngestEventsRequest ingestEventsRequest
*
Ingest usage events for metering and billing purposes. * *
Events are deduplicated by (event_id, customer_id) — re-sending the same pair
- * will not be double-counted. If timestamps differ across duplicates, the event with the latest
- * timestamp is used.
+ * will not be double-counted. The first copy received is kept and later copies are ignored,
+ * whatever they change.
*
*
By default, any invalid event rejects the entire batch. Set allow_partial_failures
* to true to ingest valid events and receive per-event failure details in
@@ -101,8 +101,8 @@ private WithRawResponse() {}
*
Ingest usage events for metering and billing purposes. * *
Events are deduplicated by (event_id, customer_id) — re-sending the same
- * pair will not be double-counted. If timestamps differ across duplicates, the event with
- * the latest timestamp is used.
+ * pair will not be double-counted. The first copy received is kept and later copies are
+ * ignored, whatever they change.
*
*
By default, any invalid event rejects the entire batch. Set Ingest usage events for metering and billing purposes.
*
* Events are deduplicated by By default, any invalid event rejects the entire batch. Set Ingest usage events for metering and billing purposes.
*
* Events are deduplicated by By default, any invalid event rejects the entire batch. Set Ingest usage events for metering and billing purposes.
*
* Events are deduplicated by By default, any invalid event rejects the entire batch. Set Ingest usage events for metering and billing purposes.
*
* Events are deduplicated by By default, any invalid event rejects the entire batch. Set Ingest usage events for metering and billing purposes.
*
* Events are deduplicated by By default, any invalid event rejects the entire batch. Set
* allow_partial_failures to true to ingest valid events and receive
@@ -122,8 +122,8 @@ public ApiResponse(event_id, customer_id) — re-sending the same
- * pair will not be double-counted. If timestamps differ across duplicates, the event with
- * the latest timestamp is used.
+ * pair will not be double-counted. The first copy received is kept and later copies are
+ * ignored, whatever they change.
*
*
* allow_partial_failures to true to ingest valid events and receive
diff --git a/src/main/java/com/meteroid/api/EventsAsync.java b/src/main/java/com/meteroid/api/EventsAsync.java
index e69f182..fd2fa53 100644
--- a/src/main/java/com/meteroid/api/EventsAsync.java
+++ b/src/main/java/com/meteroid/api/EventsAsync.java
@@ -41,8 +41,8 @@ public WithRawResponse withRawResponse() {
* (event_id, customer_id) — re-sending the same pair
- * will not be double-counted. If timestamps differ across duplicates, the event with the latest
- * timestamp is used.
+ * will not be double-counted. The first copy received is kept and later copies are ignored,
+ * whatever they change.
*
* allow_partial_failures
* to true to ingest valid events and receive per-event failure details in
@@ -62,8 +62,8 @@ public CompletableFuture(event_id, customer_id) — re-sending the same pair
- * will not be double-counted. If timestamps differ across duplicates, the event with the latest
- * timestamp is used.
+ * will not be double-counted. The first copy received is kept and later copies are ignored,
+ * whatever they change.
*
* allow_partial_failures
* to true to ingest valid events and receive per-event failure details in
@@ -88,8 +88,8 @@ private WithRawResponse() {}
* (event_id, customer_id) — re-sending the same
- * pair will not be double-counted. If timestamps differ across duplicates, the event with
- * the latest timestamp is used.
+ * pair will not be double-counted. The first copy received is kept and later copies are
+ * ignored, whatever they change.
*
*
* allow_partial_failures to true to ingest valid events and receive
@@ -109,8 +109,8 @@ public CompletableFuture(event_id, customer_id) — re-sending the same
- * pair will not be double-counted. If timestamps differ across duplicates, the event with
- * the latest timestamp is used.
+ * pair will not be double-counted. The first copy received is kept and later copies are
+ * ignored, whatever they change.
*
*
* allow_partial_failures to true to ingest valid events and receive