File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ type CreateTopicsRequest struct {
23
23
// When set to true, topics are not created but the configuration is
24
24
// validated as if they were.
25
25
//
26
- // This field will be ignored if the kafka broker did no support the
26
+ // This field will be ignored if the kafka broker did not support the
27
27
// CreateTopics API in version 1 or above.
28
28
ValidateOnly bool
29
29
}
@@ -33,7 +33,7 @@ type CreateTopicsRequest struct {
33
33
type CreateTopicsResponse struct {
34
34
// The amount of time that the broker throttled the request.
35
35
//
36
- // This field will be zero if the kafka broker did no support the
36
+ // This field will be zero if the kafka broker did not support the
37
37
// CreateTopics API in version 2 or above.
38
38
Throttle time.Duration
39
39
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ type DeleteTopicsRequest struct {
25
25
type DeleteTopicsResponse struct {
26
26
// The amount of time that the broker throttled the request.
27
27
//
28
- // This field will be zero if the kafka broker did no support the
28
+ // This field will be zero if the kafka broker did not support the
29
29
// DeleteTopics API in version 1 or above.
30
30
Throttle time.Duration
31
31
Original file line number Diff line number Diff line change @@ -111,8 +111,8 @@ type ProduceResponse struct {
111
111
112
112
// Offset of the first record that was written to the topic partition.
113
113
//
114
- // This field will be zero if the kafka broker did no support the Produce
115
- // API in version 3 or above.
114
+ // This field will be zero if the kafka broker did not support Produce API
115
+ // version 3 or above.
116
116
BaseOffset int64
117
117
118
118
// Time at which the broker wrote the records to the topic partition.
@@ -123,15 +123,15 @@ type ProduceResponse struct {
123
123
124
124
// First offset in the topic partition that the records were written to.
125
125
//
126
- // This field will be zero if the kafka broker did not support Produce API
127
- // version 5 or above (or if the first offset is zero).
126
+ // This field will be zero if the kafka broker did not support Produce
127
+ // API version 5 or above (or if the first offset is zero).
128
128
LogStartOffset int64
129
129
130
130
// If errors occurred writing specific records, they will be reported in
131
131
// this map.
132
132
//
133
- // This field will always be empty if the kafka broker did not support
134
- // Produce API version 8 or above.
133
+ // This field will always be empty if the kafka broker did not support the
134
+ // Produce API in version 8 or above.
135
135
RecordErrors map [int ]error
136
136
}
137
137
You can’t perform that action at this time.
0 commit comments