Skip to content

Commit 7167a55

Browse files
Merge branch 'live' into stable
2 parents 5d95dbc + e96871a commit 7167a55

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

site/streams.md

+20-6
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ so uneven cluster sizes is strongly recommended.
113113
A stream remains an AMQP 0.9.1 queue, so it can be bound to any exchange after its creation,
114114
just as any other RabbitMQ queue.
115115

116-
If declaring using [management UI](./management.html), the `stream` type must be specified using
116+
If declaring using [management UI](./management), the `stream` type must be specified using
117117
the queue type drop down menu.
118118

119-
Streams support 3 additional [queue arguments](./queues.html#optional-arguments)
120-
that are best configured using a [policy](./parameters.html#policies)
119+
Streams support additional [queue arguments](./queues#optional-arguments)
120+
that also can be configured using a [policy](./parameters#policies)
121121

122122
* `x-max-length-bytes`
123123

@@ -129,12 +129,26 @@ Sets the maximum age of the stream. See [retention](#retention). Default: not se
129129

130130
* `x-stream-max-segment-size-bytes`
131131

132-
Unit: bytes. A stream is divided up into fixed size segment files on disk.
132+
Unit: bytes.
133+
134+
A stream is divided up into fixed size segment files on disk.
133135
This setting controls the size of these.
134136
Default: (500000000 bytes).
135137

136-
The following snippet shows how to set the maximum size of a stream to 20 GB, with
137-
segment files of 100 MB:
138+
While this argument can be configured via a policy, it will _only_ be applied
139+
to the stream if the policy is set at stream declaration time. If this argument
140+
is changed for a matching but pre-existing stream it **will not be changed** even
141+
if the effective policy of the queue record may indicate it is.
142+
143+
Hence it is best to only configure this via an option queue argument:
144+
145+
* `x-stream-filter-size-bytes`
146+
147+
The value is set in bytes.
148+
149+
The size of the Bloom filter used for [filtering](#filtering).
150+
The value must be between 16 and 255.
151+
Default: 16.
138152

139153
<pre class="lang-java">
140154
Map&lt;String, Object&gt; arguments = new HashMap&lt;&gt;();

site/tutorials/tutorial-two-spring-amqp.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ set to 1 the behavior would be the round robin delivery as described above.
388388
>
389389
> In most of the cases `prefetchCount` equal to 1 would be too conservative and severely
390390
> limit consumer throughput.
391-
> A couple of cases where this configuration is applicable can be found in [Spring AMQP Consumer Documentation](https://docs.spring.io/spring-amqp/reference/#async-consumer)
391+
> A couple of cases where this configuration is applicable can be found in [Spring AMQP Consumer Documentation](https://docs.spring.io/spring-amqp/reference/amqp/containerAttributes.html#prefetchCount)
392392
>
393393
> For more details on prefetch, please refer to the [Consumer Acknowledgements guide](../confirms.html#channel-qos-prefetch).
394394

0 commit comments

Comments
 (0)