Skip to content

Commit

Permalink
increase innerMessages length to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
childe committed Aug 14, 2024
1 parent f3e063f commit bdf8608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ func (c *SimpleConsumer) consumeLoop(messages chan *FullMessage) {

wg := &sync.WaitGroup{}
for !c.stop {
innerMessages := make(chan *FullMessage, 1)
innerMessages := make(chan *FullMessage, 100)

// fetch
logger.V(5).Info("send fetch request", "topic", c.topic, "partitionID", c.partitionID, "offset", c.offset)
Expand Down

0 comments on commit bdf8608

Please sign in to comment.