Skip to main content
Version: 0.4.1

KQ024 — a Channel is reached through its broker

Error · channel-through-broker · Connections · Quick fix in VS Code

A Channel is reached through its broker with no protocol, an Interface always with one, and no connection joins two Channels.

A connection to or from a channel carries a protocol, a connection to an interface carries none, or a connection joins two channels. Write over http only to an interface, and a broker path only for a channel. In VS Code, the quick fix removes a protocol written to a channel, and adds the one an interface's kind implies, http for an http-api.

Examples​

events/orders is a channel, whose transport is its broker's, so a protocol on a connection to it raises KQ024:

order-service -> events/orders over http

The same connection with no protocol raises nothing:

order-service -> events/orders

© 2026 Extenza Works. All rights reserved.