Skip to content

Commit 9f6f314

Browse files
committed
Fix code snippet title in documentation
1 parent 02edc56 commit 9f6f314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/asciidoc/advanced-topics.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ It must return `true` if a message is accepted, following the same semantics as
5454

5555
As stated above, not all messages must have an associated filter value.
5656
Many applications may not need some filtering, so they can publish messages the regular way.
57-
And a stream can contain messages with and without an associated filter value.
57+
So a stream can contain messages with and without an associated filter value.
5858

5959
By default, messages without a filter value (a.k.a _unfiltered_ messages) are not sent to a consumer that enabled filtering.
6060

6161
But what if a consumer wants to process messages with a filter value and messages without any filter value as well?
6262
It must use the `matchUnfiltered()` method in its declaration and also make sure to keep the filtering logic consistent:
6363

64-
.Declaring a consumer with a filter value and filtering logic
64+
.Getting unfiltered messages as well when enabling filtering
6565
[source,java,indent=0]
6666
--------
6767
include::{test-examples}/FilteringUsage.java[tag=consumer-match-unfiltered]

0 commit comments

Comments
 (0)