@@ -113,11 +113,11 @@ so uneven cluster sizes is strongly recommended.
113
113
A stream remains an AMQP 0.9.1 queue, so it can be bound to any exchange after its creation,
114
114
just as any other RabbitMQ queue.
115
115
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
117
117
the queue type drop down menu.
118
118
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 )
121
121
122
122
* ` x-max-length-bytes `
123
123
@@ -129,12 +129,26 @@ Sets the maximum age of the stream. See [retention](#retention). Default: not se
129
129
130
130
* ` x-stream-max-segment-size-bytes `
131
131
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.
133
135
This setting controls the size of these.
134
- Default: 500000000 bytes (500 MB).
136
+ Default: (500000000 bytes).
137
+
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.
135
148
136
- The following snippet shows how to set the maximum size of a stream to 20 GB, with
137
- segment files of 100 MB:
149
+ The size of the Bloom filter used for [ filtering] ( #filtering ) .
150
+ The value must be between 16 and 255.
151
+ Default: 16.
138
152
139
153
<pre class =" lang-java " >
140
154
Map< ; String, Object> ; arguments = new HashMap< ;> ; ();
0 commit comments