Comments (8)
@mheidt this is open source software. If you need something, please submit a PR
from hop.
The consumers endpoint does not support pagination and I don't think it supports filtering by name/regex.
from hop.
I know. that's why I closed it. I thought, the people behind this are in contact with the people of the real API as well.
from hop.
@michaelklishin
It seems, that we have a major issue with this call.
Our productive rabbit has a shovel defined and those connections look like
{
"arguments": {},
"ack_required": true,
"active": true,
"activity_status": "up",
"channel_details": {
"connection_name": "[email protected]",
"name": "[email protected] (1)",
"node": "rabbit@10-244-108-91",
"number": 1,
"peer_host": "undefined",
"peer_port": "undefined",
"user": "shovel"
},
"consumer_tag": "amq.ctag-uLSmF70x9pQEDL34OCbkvg",
"exclusive": false,
"prefetch_count": 1000,
"queue": {
"name": "amq.gen-vIuezFJTmuEAOB2SouuafQ",
"vhost": "PROD"
}
},
The peer_port yields to
JSON parse error: Cannot deserialize value of type int
from String "undefined": not a valid Integer value;
Should I make a PR, that is making ChannelDetails.peerPort a String?
from hop.
Of course nicer would be if the API (not hop) would support the filter...
from hop.
@michaelklishin: Alternatively (and not breaking the http API) it might be possible to fix this in the shovel plugin, so that either a real portnumber or "0" is set for unknown port in peer_port !?
from hop.
The management API should fix the issue, maybe a proper default value would be 0 or -1, I don't know if this happens in other cases. It's also weird the values are not set.
This should also be fixed in Hop, in case the client is used with broker versions without the fix. I'd say the simplest is to use a custom deserializer that handles the undefined
value. We cannot change the type, it would be a breaking change.
from hop.
Closed in favor of #248.
from hop.
Related Issues (20)
- Bump dependencies
- Add top level getConsumers methods HOT 1
- Bump dependencies
- Handle "undefined" port value in channel details HOT 5
- Make channel details deserialization null-proof
- Bump dependencies
- Require at least Java 11 HOT 2
- Use Java 11 HttpClient for blocking IO client HOT 1
- Deprecate usage of RestTemplate HOT 1
- Bump dependencies
- Provide more information in case of error HOT 7
- Remove Groovy from runtime dependencies
- Bump dependencies
- Unable to configure TLS HOT 1
- Make JdkHttpClientHttpLayer public
- Make JdkHttpClientHttpLayer.Configuration#create() public
- Bump dependencies
- Add Getter for ExchangeInfo dto to access ExchangeMessageStats HOT 3
- Bump dependencies
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 hop.