Skip to content

Commit 72c5302

Browse files
Feature Flags: correct an advanced.config example
1 parent aec728f commit 72c5302

File tree

3 files changed

+24
-9
lines changed

3 files changed

+24
-9
lines changed

docs/feature-flags/index.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,16 @@ There are two ways to do this:
272272

273273
1. Using the `RABBITMQ_FEATURE_FLAGS` environment variable:
274274
```bash
275+
# this is just an example, in practice this list will be much longer
275276
RABBITMQ_FEATURE_FLAGS=quorum_queue,implicit_default_bindings
276277
```
277-
2. Using the `forced_feature_flags_on_init` configuration parameter:
278-
```
279-
erlang{rabbit, [{forced_feature_flags_on_init, [quorum_queue, implicit_default_bindings]}]}
278+
2. Using the `forced_feature_flags_on_init` setting in [`advanced.config`](./configure):
279+
280+
```erlang
281+
{rabbit, [
282+
%% this is just an example, in practice this list will be much longer
283+
{forced_feature_flags_on_init, [quorum_queue, implicit_default_bindings]}
284+
]}
280285
```
281286

282287
The environment variable has precedence over the configuration parameter.

versioned_docs/version-3.13/feature-flags/index.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,11 +283,16 @@ There are two ways to do this:
283283

284284
1. Using the `RABBITMQ_FEATURE_FLAGS` environment variable:
285285
```bash
286+
# this is just an example, in practice this list will be much longer
286287
RABBITMQ_FEATURE_FLAGS=quorum_queue,implicit_default_bindings
287288
```
288-
2. Using the `forced_feature_flags_on_init` configuration parameter:
289-
```
290-
erlang{rabbit, [{forced_feature_flags_on_init, [quorum_queue, implicit_default_bindings]}]}
289+
2. Using the `forced_feature_flags_on_init` setting in [`advanced.config`](./configure):
290+
291+
```erlang
292+
{rabbit, [
293+
%% this is just an example, in practice this list will be much longer
294+
{forced_feature_flags_on_init, [quorum_queue, implicit_default_bindings]}
295+
]}
291296
```
292297

293298
The environment variable has precedence over the configuration parameter.

versioned_docs/version-4.0/feature-flags/index.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,16 @@ There are two ways to do this:
272272

273273
1. Using the `RABBITMQ_FEATURE_FLAGS` environment variable:
274274
```bash
275+
# this is just an example, in practice this list will be much longer
275276
RABBITMQ_FEATURE_FLAGS=quorum_queue,implicit_default_bindings
276277
```
277-
2. Using the `forced_feature_flags_on_init` configuration parameter:
278-
```
279-
erlang{rabbit, [{forced_feature_flags_on_init, [quorum_queue, implicit_default_bindings]}]}
278+
2. Using the `forced_feature_flags_on_init` setting in [`advanced.config`](./configure):
279+
280+
```erlang
281+
{rabbit, [
282+
%% this is just an example, in practice this list will be much longer
283+
{forced_feature_flags_on_init, [quorum_queue, implicit_default_bindings]}
284+
]}
280285
```
281286

282287
The environment variable has precedence over the configuration parameter.

0 commit comments

Comments
 (0)