This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a8bef7  Fixup misleading text in compaction cookbook (#2026)
8a8bef7 is described below

commit 8a8bef7e22bbc563efe68a5632668a2b44b1dc33
Author: Ivan Kelly <[email protected]>
AuthorDate: Mon Jun 25 18:56:24 2018 +0200

    Fixup misleading text in compaction cookbook (#2026)
    
    Previously the text said that keyless messages are ignored, which
    could mean they are retained or are discarded. I've updated the text
    to clarify.
---
 site/docs/latest/cookbooks/compaction.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/site/docs/latest/cookbooks/compaction.md 
b/site/docs/latest/cookbooks/compaction.md
index 035dfd4..df76fa0 100644
--- a/site/docs/latest/cookbooks/compaction.md
+++ b/site/docs/latest/cookbooks/compaction.md
@@ -11,7 +11,7 @@ To use compaction:
 * Compaction can be configured to run [automatically](#automatic), or you can 
manually [trigger](#trigger) compaction using the Pulsar administrative API.
 * Your {% popover consumers %} must be [configured](#config) to read from 
compacted topics ([Java consumers](#java), for example, have a `readCompacted` 
setting that must be set to `true`). If this configuration is not set, 
consumers will still be able to read from the non-compacted topic.
 
-{% include admonition.html type="warning" content="Compaction only works on 
messages that have keys (as in the stock ticker example the stock symbol serves 
as the key for each message). Keys can thus be thought of as the axis along 
which compaction is applied. Messages that don't have keys are simply ignored 
by compaction." %}
+{% include admonition.html type="warning" content="Compaction only works on 
messages that have keys (as in the stock ticker example the stock symbol serves 
as the key for each message). Keys can thus be thought of as the axis along 
which compaction is applied. Messages that don't have keys are left untouched 
by compaction, and retained in final compacted topic." %}
 
 ## When should I use compacted topics? {#when}
 
@@ -122,4 +122,4 @@ Message<byte[]> msg = MessageBuilder.create()
         .build();
 
 compactedTopicProducer.send(msg);
-```
\ No newline at end of file
+```

Reply via email to