sarama icon indicating copy to clipboard operation
sarama copied to clipboard

Is there a way to set batch.size and max.block.ms for kafka version V2.5.x in producer?

Open al8n opened this issue 5 years ago • 7 comments

Versions
Sarama Kafka Go
2 2.5.0 1.13.7
Configuration

Is there a way to set batch.size,max.block.ms, max.in.flight.requests.per.connection and buffer.memory for kafka version V2.5.x in producer?

al8n avatar May 06 '20 14:05 al8n

Interested in this answer as well

andresmijares avatar Dec 11 '20 22:12 andresmijares

Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur. Please check if the master branch has already resolved the issue since it was raised. If you believe the issue is still valid and you would like input from the maintainers then please comment to ask for it to be reviewed.

ghost avatar Mar 16 '21 21:03 ghost

Facing same issue. Want to set batch.size. But cant figure out any such property from Producer configs.

97arushisharma avatar Apr 06 '21 12:04 97arushisharma

Same issue

golango-cn avatar Apr 12 '21 02:04 golango-cn

the same issue, want to set batch.size and linger.ms

kwenzh avatar Apr 07 '22 08:04 kwenzh

Same issue, any update? Thanks @dnwe @cch123

yitian108 avatar Jan 12 '23 07:01 yitian108

config.Producer.Flush.Messages = batch.size ? config.Producer.Flush.Frequency = linger.ms ?

yitian108 avatar Jan 12 '23 08:01 yitian108

Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur. Please check if the main branch has already resolved the issue since it was raised. If you believe the issue is still valid and you would like input from the maintainers then please comment to ask for it to be reviewed.

github-actions[bot] avatar Aug 24 '23 18:08 github-actions[bot]

Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur. Please check if the main branch has already resolved the issue since it was raised. If you believe the issue is still valid and you would like input from the maintainers then please comment to ask for it to be reviewed.

github-actions[bot] avatar Nov 22 '23 20:11 github-actions[bot]