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

README: document spring properties together #166

Merged
merged 1 commit into from
Jun 21, 2023
Merged

README: document spring properties together #166

merged 1 commit into from
Jun 21, 2023

Conversation

ePaul
Copy link
Member

@ePaul ePaul commented Jan 9, 2023

Triggered by a recent question, I've added a table of all the configuration properties.

Also some other tweaks to related documentation.

@ePaul ePaul requested a review from fbrns as a code owner January 9, 2023 16:31
@ePaul ePaul added the spring-boot-2 Issues/PRs which only apply to the Spring-Boot 2 versions (Releases 20.*+) label Jan 9, 2023
@ePaul
Copy link
Member Author

ePaul commented Jun 8, 2023

👍

* **lock-duration-buffer**: Since clocks never work exactly synchronous and sending events also takes some time, a safety
buffer is included. During the last x seconds before the expiration of the lock the events are not considered for
transmission. The default is currently 60 seconds but might change in future releases.
* **lock-duration** (seconds): The time the selected events are locked before transmission. If the transmission fails,
Copy link
Member

Choose a reason for hiding this comment

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

It's more the time the events are locked before re-transmission in case the previous attempt failed.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, the events are locked before trying a transmission, and either they'll be sent out during that time (then they'll be deleted, so the time is irrelevant), the sending job doesn't get to the event (then the lock will expire and the next one will pick it up), or something goes wrong (then they stay locked until the lock expires, upon which again the next job run will pick it up).

Not sure how to easily condense this into sentence.

@fbrns
Copy link
Member

fbrns commented Jun 21, 2023

👍

@ePaul ePaul merged commit 9d642c2 into master Jun 21, 2023
@ePaul ePaul deleted the readme-updates branch June 21, 2023 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation spring-boot-2 Issues/PRs which only apply to the Spring-Boot 2 versions (Releases 20.*+)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants