Skip to content

listen bucket: Support empty events from the server#1812

Merged
harshavardhana merged 1 commit into
minio:masterfrom
vadmeste:fix-less-length
Apr 19, 2023
Merged

listen bucket: Support empty events from the server#1812
harshavardhana merged 1 commit into
minio:masterfrom
vadmeste:fix-less-length

Conversation

@vadmeste
Copy link
Copy Markdown
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