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

listen bucket: Support empty events from the server #1812

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

vadmeste
Copy link
Member

@vadmeste vadmeste commented Apr 19, 2023

Ask the server to send empty events in Listen Bucket API

With older MinIO versions, this would clear the whitespaces for the
scanner buffer, many whitespaces will make the scanner complains as it
needs a new line to clear some internal buffer.

With new MinIO version, ping=10 query will be considered and the server
will send empty events, instead of the whitespaces, each 10 seconds.

Ask the server to send empty events in Listen Bucket API

With older MinIO versions, this would clear the whitespaces for the
scanner buffer, many whitespaces will make the scanner complains as it
needs a new line to clear some internal buffer.

With new MinIO version, ping=10 query will be considered and the server
will send empty events, instead of the whitespaces, each 10 seconds.
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