Skip to content

Commit 8a66e58

Browse files
all: fix spelling errors (#1120)
1 parent 84acde1 commit 8a66e58

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

createtopics.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type CreateTopicsRequest struct {
2323
// When set to true, topics are not created but the configuration is
2424
// validated as if they were.
2525
//
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
2727
// CreateTopics API in version 1 or above.
2828
ValidateOnly bool
2929
}
@@ -33,7 +33,7 @@ type CreateTopicsRequest struct {
3333
type CreateTopicsResponse struct {
3434
// The amount of time that the broker throttled the request.
3535
//
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
3737
// CreateTopics API in version 2 or above.
3838
Throttle time.Duration
3939

deletetopics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type DeleteTopicsRequest struct {
2525
type DeleteTopicsResponse struct {
2626
// The amount of time that the broker throttled the request.
2727
//
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
2929
// DeleteTopics API in version 1 or above.
3030
Throttle time.Duration
3131

produce.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ type ProduceResponse struct {
111111

112112
// Offset of the first record that was written to the topic partition.
113113
//
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.
116116
BaseOffset int64
117117

118118
// Time at which the broker wrote the records to the topic partition.
@@ -123,15 +123,15 @@ type ProduceResponse struct {
123123

124124
// First offset in the topic partition that the records were written to.
125125
//
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).
128128
LogStartOffset int64
129129

130130
// If errors occurred writing specific records, they will be reported in
131131
// this map.
132132
//
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.
135135
RecordErrors map[int]error
136136
}
137137

0 commit comments

Comments
 (0)