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

[fix][doc] fix doc related to chunk message feature. #24023

Merged
merged 1 commit into from
Feb 26, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -328,12 +328,11 @@ public interface ProducerBuilder<T> extends Cloneable {
* of the pulsar producer and consumer is recommended to use this feature:
*
* <pre>
* 1. This feature is currently only supported for non-shared subscriptions and persistent topics.
* 2. Disable batching to use chunking feature.
* 3. Pulsar-client stores published messages in buffer cache until it receives acknowledgement from the broker.
* 1. Disable batching to use chunking feature.
* 2. Pulsar-client stores published messages in buffer cache until it receives acknowledgement from the broker.
* Therefore, it's best practice to reduce the "maxPendingMessages" size to avoid the producer occupying large
* amounts of memory with buffered messages.
* 4. Set message-ttl on the namespace to clean up incomplete chunked messages.
* 3. Set message-ttl on the namespace to clean up incomplete chunked messages.
* (If a producer fails to publish an entire large message, the consumer will be unable to consume and acknowledge
* those messages. These messages can only be discarded by message TTL or by configuring
* {@link ConsumerBuilder#expireTimeOfIncompleteChunkedMessage}.
Expand Down
Loading