Skip to content

Handle undefined connection_details.peer_{host,port} in GET /api/channels responses #43

@michaelklishin

Description

@michaelklishin

AMQP 0-9-1 shovels can use a special Erlang client known in RabbitMQ as the direct client.

That client uses Erlang inter-node connectivity and won't have some typical socket stats, namely peer_host and peer_port, exposed under connection_details.

The problem is that an undefined value will be rendered as "undefined" and not a null or a missing field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions