spring-cloud / spring-cloud/spring-functions-catalog

Provide JDBC supplier with a way to set fixed-delay when split is true

Open
#236 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage type: enhancement
Dominant language
Java
Stars
38
Forks
15
Avg merge
2m
Merged PRs (30d)
8

Description

Expected Behavior

The user can throttle the initial polling with a fixed delay when split is set to the default value of true.
This would be similar to the spring.cloud.stream.poller.fixed-delay property available when split is set to false.

Current Behavior

The initial polling is repeated until there are no more results returned without any kind of pausing which can overwhelm downstream processing when there are many thousands of rows returned by the query.

Context

The current workaround is to always set split to false.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the JDBC supplier's initial polling path when split is true, and compare it with the spring.cloud.stream.poller.fixed-delay behavior used when split is false. Done means repeated initial polling can honor a fixed delay while split remains true and no longer overwhelms downstream processing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
backend, database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.