@@ -549,6 +549,10 @@ message IngestionFailureEvent {
549
549
// occurs, one or more Avro objects won't be ingested.
550
550
message AvroFailureReason {}
551
551
552
+ // Set when a Pub/Sub message fails to get published due to a schema
553
+ // validation violation.
554
+ message SchemaViolationReason {}
555
+
552
556
// Failure when ingesting from a Cloud Storage source.
553
557
message CloudStorageFailure {
554
558
// Optional. Name of the Cloud Storage bucket used for ingestion.
@@ -572,6 +576,10 @@ message IngestionFailureEvent {
572
576
// being published.
573
577
ApiViolationReason api_violation_reason = 6
574
578
[(google.api.field_behavior ) = OPTIONAL ];
579
+
580
+ // Optional. The Pub/Sub message failed schema validation.
581
+ SchemaViolationReason schema_violation_reason = 7
582
+ [(google.api.field_behavior ) = OPTIONAL ];
575
583
}
576
584
}
577
585
@@ -596,6 +604,10 @@ message IngestionFailureEvent {
596
604
// being published.
597
605
ApiViolationReason api_violation_reason = 5
598
606
[(google.api.field_behavior ) = OPTIONAL ];
607
+
608
+ // Optional. The Pub/Sub message failed schema validation.
609
+ SchemaViolationReason schema_violation_reason = 6
610
+ [(google.api.field_behavior ) = OPTIONAL ];
599
611
}
600
612
}
601
613
@@ -620,6 +632,10 @@ message IngestionFailureEvent {
620
632
// being published.
621
633
ApiViolationReason api_violation_reason = 5
622
634
[(google.api.field_behavior ) = OPTIONAL ];
635
+
636
+ // Optional. The Pub/Sub message failed schema validation.
637
+ SchemaViolationReason schema_violation_reason = 6
638
+ [(google.api.field_behavior ) = OPTIONAL ];
623
639
}
624
640
}
625
641
@@ -644,6 +660,29 @@ message IngestionFailureEvent {
644
660
// being published.
645
661
ApiViolationReason api_violation_reason = 5
646
662
[(google.api.field_behavior ) = OPTIONAL ];
663
+
664
+ // Optional. The Pub/Sub message failed schema validation.
665
+ SchemaViolationReason schema_violation_reason = 6
666
+ [(google.api.field_behavior ) = OPTIONAL ];
667
+ }
668
+ }
669
+
670
+ // Failure when ingesting from an AWS Kinesis source.
671
+ message AwsKinesisFailureReason {
672
+ // Optional. The stream ARN of the Kinesis stream being ingested from.
673
+ string stream_arn = 1 [(google.api.field_behavior ) = OPTIONAL ];
674
+
675
+ // Optional. The partition key of the message that failed to be ingested.
676
+ string partition_key = 2 [(google.api.field_behavior ) = OPTIONAL ];
677
+
678
+ // Optional. The sequence number of the message that failed to be ingested.
679
+ string sequence_number = 3 [(google.api.field_behavior ) = OPTIONAL ];
680
+
681
+ // Reason why ingestion failed for the specified message.
682
+ oneof reason {
683
+ // Optional. The Pub/Sub message failed schema validation.
684
+ SchemaViolationReason schema_violation_reason = 4
685
+ [(google.api.field_behavior ) = OPTIONAL ];
647
686
}
648
687
}
649
688
@@ -670,6 +709,10 @@ message IngestionFailureEvent {
670
709
// Optional. Failure when ingesting from Confluent Cloud.
671
710
ConfluentCloudFailureReason confluent_cloud_failure = 6
672
711
[(google.api.field_behavior ) = OPTIONAL ];
712
+
713
+ // Optional. Failure when ingesting from AWS Kinesis.
714
+ AwsKinesisFailureReason aws_kinesis_failure = 7
715
+ [(google.api.field_behavior ) = OPTIONAL ];
673
716
}
674
717
}
675
718
@@ -1128,7 +1171,7 @@ service Subscriber {
1128
1171
}
1129
1172
1130
1173
// Establishes a stream with the server, which sends messages down to the
1131
- // client. The client streams acknowledgements and ack deadline modifications
1174
+ // client. The client streams acknowledgments and ack deadline modifications
1132
1175
// back to the server. The server will close the stream and return the status
1133
1176
// on any error. The server may close the stream with status `UNAVAILABLE` to
1134
1177
// reassign server-side resources, in which case, the client should
@@ -1394,8 +1437,8 @@ message Subscription {
1394
1437
//
1395
1438
// If not set, the default retry policy is applied. This generally implies
1396
1439
// that messages will be retried as soon as possible for healthy subscribers.
1397
- // RetryPolicy will be triggered on NACKs or acknowledgement deadline
1398
- // exceeded events for a given message.
1440
+ // RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded
1441
+ // events for a given message.
1399
1442
RetryPolicy retry_policy = 14 [(google.api.field_behavior ) = OPTIONAL ];
1400
1443
1401
1444
// Optional. Indicates whether the subscription is detached from its topic.
@@ -1410,7 +1453,7 @@ message Subscription {
1410
1453
// subscription:
1411
1454
//
1412
1455
// * The message sent to a subscriber is guaranteed not to be resent
1413
- // before the message's acknowledgement deadline expires.
1456
+ // before the message's acknowledgment deadline expires.
1414
1457
// * An acknowledged message will not be resent to a subscriber.
1415
1458
//
1416
1459
// Note that subscribers may still receive multiple copies of a message
@@ -1449,7 +1492,7 @@ message Subscription {
1449
1492
// Retry delay will be exponential based on provided minimum and maximum
1450
1493
// backoffs. https://en.wikipedia.org/wiki/Exponential_backoff.
1451
1494
//
1452
- // RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded
1495
+ // RetryPolicy will be triggered on NACKs or acknowledgment deadline exceeded
1453
1496
// events for a given message.
1454
1497
//
1455
1498
// Retry Policy is implemented on a best effort basis. At times, the delay
@@ -1489,7 +1532,7 @@ message DeadLetterPolicy {
1489
1532
// value must be between 5 and 100.
1490
1533
//
1491
1534
// The number of delivery attempts is defined as 1 + (the sum of number of
1492
- // NACKs and number of times the acknowledgement deadline has been exceeded
1535
+ // NACKs and number of times the acknowledgment deadline has been exceeded
1493
1536
// for the message).
1494
1537
//
1495
1538
// A NACK is any call to ModifyAckDeadline with a 0 deadline. Note that
@@ -1751,7 +1794,7 @@ message CloudStorageConfig {
1751
1794
1752
1795
// Optional. The maximum duration that can elapse before a new Cloud Storage
1753
1796
// file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not
1754
- // exceed the subscription's acknowledgement deadline.
1797
+ // exceed the subscription's acknowledgment deadline.
1755
1798
google.protobuf.Duration max_duration = 6
1756
1799
[(google.api.field_behavior ) = OPTIONAL ];
1757
1800
@@ -1973,7 +2016,7 @@ message AcknowledgeRequest {
1973
2016
}
1974
2017
1975
2018
// Request for the `StreamingPull` streaming RPC method. This request is used to
1976
- // establish the initial stream as well as to stream acknowledgements and ack
2019
+ // establish the initial stream as well as to stream acknowledgments and ack
1977
2020
// deadline modifications from the client to the server.
1978
2021
message StreamingPullRequest {
1979
2022
// Required. The subscription for which to initialize the new stream. This
@@ -1987,12 +2030,11 @@ message StreamingPullRequest {
1987
2030
}
1988
2031
];
1989
2032
1990
- // Optional. List of acknowledgement IDs for acknowledging previously received
2033
+ // Optional. List of acknowledgment IDs for acknowledging previously received
1991
2034
// messages (received on this stream or a different stream). If an ack ID has
1992
2035
// expired, the corresponding message may be redelivered later. Acknowledging
1993
- // a message more than once will not result in an error. If the
1994
- // acknowledgement ID is malformed, the stream will be aborted with status
1995
- // `INVALID_ARGUMENT`.
2036
+ // a message more than once will not result in an error. If the acknowledgment
2037
+ // ID is malformed, the stream will be aborted with status `INVALID_ARGUMENT`.
1996
2038
repeated string ack_ids = 2 [(google.api.field_behavior ) = OPTIONAL ];
1997
2039
1998
2040
// Optional. The list of new ack deadlines for the IDs listed in
@@ -2009,7 +2051,7 @@ message StreamingPullRequest {
2009
2051
repeated int32 modify_deadline_seconds = 3
2010
2052
[(google.api.field_behavior ) = OPTIONAL ];
2011
2053
2012
- // Optional. List of acknowledgement IDs whose deadline will be modified based
2054
+ // Optional. List of acknowledgment IDs whose deadline will be modified based
2013
2055
// on the corresponding element in `modify_deadline_seconds`. This field can
2014
2056
// be used to indicate that more time is needed to process a message by the
2015
2057
// subscriber, or to make the message available for redelivery if the
@@ -2058,39 +2100,39 @@ message StreamingPullRequest {
2058
2100
// Response for the `StreamingPull` method. This response is used to stream
2059
2101
// messages from the server to the client.
2060
2102
message StreamingPullResponse {
2061
- // Acknowledgement IDs sent in one or more previous requests to acknowledge a
2103
+ // Acknowledgment IDs sent in one or more previous requests to acknowledge a
2062
2104
// previously received message.
2063
2105
message AcknowledgeConfirmation {
2064
- // Optional. Successfully processed acknowledgement IDs.
2106
+ // Optional. Successfully processed acknowledgment IDs.
2065
2107
repeated string ack_ids = 1 [(google.api.field_behavior ) = OPTIONAL ];
2066
2108
2067
- // Optional. List of acknowledgement IDs that were malformed or whose
2068
- // acknowledgement deadline has expired.
2109
+ // Optional. List of acknowledgment IDs that were malformed or whose
2110
+ // acknowledgment deadline has expired.
2069
2111
repeated string invalid_ack_ids = 2
2070
2112
[(google.api.field_behavior ) = OPTIONAL ];
2071
2113
2072
- // Optional. List of acknowledgement IDs that were out of order.
2114
+ // Optional. List of acknowledgment IDs that were out of order.
2073
2115
repeated string unordered_ack_ids = 3
2074
2116
[(google.api.field_behavior ) = OPTIONAL ];
2075
2117
2076
- // Optional. List of acknowledgement IDs that failed processing with
2118
+ // Optional. List of acknowledgment IDs that failed processing with
2077
2119
// temporary issues.
2078
2120
repeated string temporary_failed_ack_ids = 4
2079
2121
[(google.api.field_behavior ) = OPTIONAL ];
2080
2122
}
2081
2123
2082
- // Acknowledgement IDs sent in one or more previous requests to modify the
2124
+ // Acknowledgment IDs sent in one or more previous requests to modify the
2083
2125
// deadline for a specific message.
2084
2126
message ModifyAckDeadlineConfirmation {
2085
- // Optional. Successfully processed acknowledgement IDs.
2127
+ // Optional. Successfully processed acknowledgment IDs.
2086
2128
repeated string ack_ids = 1 [(google.api.field_behavior ) = OPTIONAL ];
2087
2129
2088
- // Optional. List of acknowledgement IDs that were malformed or whose
2089
- // acknowledgement deadline has expired.
2130
+ // Optional. List of acknowledgment IDs that were malformed or whose
2131
+ // acknowledgment deadline has expired.
2090
2132
repeated string invalid_ack_ids = 2
2091
2133
[(google.api.field_behavior ) = OPTIONAL ];
2092
2134
2093
- // Optional. List of acknowledgement IDs that failed processing with
2135
+ // Optional. List of acknowledgment IDs that failed processing with
2094
2136
// temporary issues.
2095
2137
repeated string temporary_failed_ack_ids = 3
2096
2138
[(google.api.field_behavior ) = OPTIONAL ];
0 commit comments