Skip to content

Commit

Permalink
fix: specify int32
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody Kaczynski committed Aug 26, 2024
1 parent 30cec72 commit 5e0bff2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions receiver/kafkareceiver/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ const (
defaultAutoCommitInterval = 1 * time.Second

// default from sarama.NewConfig()
defaultMinFetchSize = 1
defaultMinFetchSize = int32(1)
// default from sarama.NewConfig()
defaultDefaultFetchSize = 1048576
defaultDefaultFetchSize = int32(1048576)
// default from sarama.NewConfig()
defaultMaxFetchSize = 0
defaultMaxFetchSize = int32(0)
)

var errUnrecognizedEncoding = fmt.Errorf("unrecognized encoding")
Expand Down

0 comments on commit 5e0bff2

Please sign in to comment.