Comments (2)
This is how parameters in the problematic case are deserialised:
"parameters" => [
%{
"component" => "federation-upstream",
"name" => "up-1",
"value" => [
["ack-mode", "on-confirm"],
["trust-user-id", false],
["uri", "amqp://127.0.0.1:5672"]
],
"vhost" => "/"
},
%{
"component" => "shovel",
"name" => "shovel-60",
"value" => [
["ack-mode", "on-confirm"],
["dest-add-forward-headers", false],
["dest-protocol", "amqp091"],
["dest-queue", "shovel-60-dst"],
["dest-uri", "amqp://localhost:5672"],
["src-delete-after", "never"],
["src-protocol", "amqp091"],
["src-queue", "shovel-60-src"],
["src-uri", "amqp://localhost:5672"]
],
"vhost" => "/"
}
]
from rabbitmq-cli.
JSON file difference makes it clear it's an export_definitions
issue:
"parameters": [
{
"component": "federation-upstream",
"name": "up-1",
"value": [
[
"ack-mode",
"on-confirm"
],
[
"trust-user-id",
false
],
[
"uri",
"amqp://127.0.0.1:5672"
]
],
"vhost": "/"
},
{
"component": "shovel",
"name": "shovel-60",
"value": [
[
"ack-mode",
"on-confirm"
],
[
"dest-add-forward-headers",
false
],
[
"dest-protocol",
"amqp091"
],
[
"dest-queue",
"shovel-60-dst"
],
[
"dest-uri",
"amqp://localhost:5672"
],
[
"src-delete-after",
"never"
],
[
"src-protocol",
"amqp091"
],
[
"src-queue",
"shovel-60-src"
],
[
"src-uri",
"amqp://localhost:5672"
]
],
"vhost": "/"
}
],
vs. HTTP API-produced one:
"parameters": [
{
"value": {
"ack-mode": "on-confirm",
"trust-user-id": false,
"uri": "amqp://127.0.0.1:5672"
},
"vhost": "/",
"component": "federation-upstream",
"name": "up-1"
},
{
"value": {
"ack-mode": "on-confirm",
"dest-add-forward-headers": false,
"dest-protocol": "amqp091",
"dest-queue": "shovel-60-dst",
"dest-uri": "amqp://localhost:5672",
"src-delete-after": "never",
"src-protocol": "amqp091",
"src-queue": "shovel-60-src",
"src-uri": "amqp://localhost:5672"
},
"vhost": "/",
"component": "shovel",
"name": "shovel-60"
}
],
from rabbitmq-cli.
Related Issues (20)
- Output of the set_parameter command can be misleading HOT 2
- Erlang formatter not working as expected HOT 1
- rabbitmqctl list_unresponsive_queues errors with quorum queues
- Initial pre-shutdown health checks HOT 3
- Option parsing considers values starting with "-" (minus) to be shortcut option lists HOT 16
- formatter for some CLI commands in rabbitmq-diagnostics is creating an UndefinedError HOT 3
- CLI command rabbitmq-diagnostics status can't parse watermark HOT 2
- CLI will not pick up commands from implicitly enabled plugins HOT 5
- rabbitmqctl list_unresponsive_queues logged and error and returned exit code of 0 HOT 2
- Commands that wait for safe replica state of quorum and classic queues to use before node shutdown HOT 7
- Can extended environment variables be taken into account by CLI tools?
- Introduce a command that lists available network interfaces (NICs)
- Visibly deprecate 'rabbitmq-diagnostics node_health_check'
- Make rabbitmq-diagnostics check_if_node_is_mirror_sync_critical special case single node clusters
- Provide a way to evaluate a file with code HOT 5
- Turn auto-completion into a first class command
- RABBITMQ_ERLANG_COOKIE environment variable takes precedence over .erlang.cookie file HOT 1
- Add `--all` to `rabbitmqctl enable_feature_flag` HOT 2
- rename_cluster_node command is broken. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabbitmq-cli.