Skip to content

[elixir] feat: Extend Fluss.Config with scanner tuning options#574

Open
nicolazar wants to merge 2 commits into
apache:mainfrom
nicolazar:feat/elixir-config-scanner
Open

[elixir] feat: Extend Fluss.Config with scanner tuning options#574
nicolazar wants to merge 2 commits into
apache:mainfrom
nicolazar:feat/elixir-config-scanner

Conversation

@nicolazar
Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #568, part of #463

Brief change log

This PR follows up on #566 to extend Fluss.Config - this time with 8 more scanner tuning options, such as remote log prefetch, download concurrency, max poll records, fetch size/time limits.

We follow the same approach as in the linked PR.

Tests

Additional tests cover the newly added options, one per field.

nicolazar added 2 commits May 27, 2026 21:03
This commit adds 8 more scanner-tuning fields to NifConfig, covering the
remote log prefetch, download concurrency, max poll records and fetch
size/time limits.
This commit adds 8 scanner-tuning fields to Fluss.Config with
corresponding set_* setters: remote prefetch count, remote log read
concurrency, file download thread count, max poll records and fetch
size/time bounds.
Copy link
Copy Markdown
Member

@fresh-borzoni fresh-borzoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicolazar Ty for the PR, LGTM overall, one comment


@spec set_remote_file_download_thread_num(t(), non_neg_integer()) :: t()
def set_remote_file_download_thread_num(%__MODULE__{} = config, threads)
when is_integer(threads),
Copy link
Copy Markdown
Member

@fresh-borzoni fresh-borzoni May 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: do you mind to tighten the guards to match type specs we use?
here and in other setters through config

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.

[elixir] scanner config options

2 participants