Skip to content

Commit 9fcedb3

Browse files
authored
Merge pull request #763 from marle3003/develop
Develop
2 parents 15a1abd + 6132dd6 commit 9fcedb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/asyncapi3/kafka/store/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func (c *Client) Read(topic string, partition int, offset int64, ct *media.Conte
162162
return nil, fmt.Errorf("read records failed: %v", errCode.String())
163163
}
164164

165-
var records []Record
165+
records := make([]Record, 0)
166166
var getValue func(value []byte) (any, error)
167167
switch {
168168
case ct.Key() == "application/vnd.mokapi.kafka.binary+json":

0 commit comments

Comments
 (0)