Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cloud-gcp-pubsub] Add application config to set setDelayThresholdDuration in the millisecond range #3437

Open
MV-GH opened this issue Jan 2, 2025 · 0 comments
Labels
priority: p3 type: enhancement New feature or request

Comments

@MV-GH
Copy link

MV-GH commented Jan 2, 2025

Is your feature request related to a problem? Please describe.
I want to set spring.cloud.gcp.pubsub.publisher.batching.delay-threshold-seconds in the millisecond range.
Currently I have a manual (code) configuration that sets the publisher using setDelayThresholdDuration to 100ms. I would like to configure this using the application config. But this is currently impossible as it only accepts 'whole' seconds.

Describe the solution you'd like
Add an config option to directly set setDelayThresholdDuration in duration form.

Describe alternatives you've considered

  • Add an option to set spring.cloud.gcp.pubsub.publisher.batching.delay-threshold-seconds but for milliseconds
  • Add an an "free" option setting field.
@zhumin8 zhumin8 added type: enhancement New feature or request priority: p3 labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants