Skip to content

Add kafka writer options#293

Merged
lerenn merged 1 commit into
lerenn:mainfrom
Equanox:kafka-writer-options
Jun 11, 2026
Merged

Add kafka writer options#293
lerenn merged 1 commit into
lerenn:mainfrom
Equanox:kafka-writer-options

Conversation

@Equanox

@Equanox Equanox commented Sep 30, 2025

Copy link
Copy Markdown
Contributor

We needed to adjust the kafka writer options for testing.

With the default settings the kafka writer sends single messages only every second (due to the default batch size of 100) which slowed down our tests.

This PR allows to adjust the options of the kafka writer.

@lerenn

lerenn commented Oct 27, 2025

Copy link
Copy Markdown
Owner

Sorry about the delay, I had some changes in my life this 2 past months, I'll take a look ASAP.

@Equanox

Equanox commented Feb 13, 2026

Copy link
Copy Markdown
Contributor Author

Any chances this gets merged in the next time?

Add a WithWriterOptions controller option and a set of WriterOption
helpers (batch size/bytes/timeout, backoff, attempts, read/write
timeout, async) so the kafka.Writer used on Publish can be tuned.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@lerenn lerenn force-pushed the kafka-writer-options branch from 41285da to c50f626 Compare June 11, 2026 21:16
@lerenn lerenn merged commit 7fe6576 into lerenn:main Jun 11, 2026
5 checks passed
@Equanox

Equanox commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Thx 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants