Skip to content

proof of concept for message durability #1

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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

apuig
Copy link

@apuig apuig commented Mar 26, 2025

No description provided.

@jeromepochat jeromepochat changed the title proof of concept for message durability [BEE-56556] proof of concept for message durability Mar 27, 2025
@jeromepochat jeromepochat changed the title [BEE-56556] proof of concept for message durability proof of concept for message durability Mar 27, 2025
Comment on lines -93 to -97
/** Flush events in the message queue. */
public void flush() {
client.flush();
}

Choose a reason for hiding this comment

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

question: Looks to be a breaking change. Could we implement the flush method based on the new architecture? or at least depreciate it with empty or minimal implementation (warning log)?

Copy link
Author

Choose a reason for hiding this comment

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

this method is misleading. Flushing does not guarantee that messages will be delivered.
IMHO the API for segment should be a simple, "hey, there is the message, do your best"

Choose a reason for hiding this comment

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

I understand your point. I'm just thinking about binary compatibility, the upgrade should ideally not require any changes from users.

@apuig
Copy link
Author

apuig commented Apr 10, 2025

#2 another approach using small size files

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