bynk.service.unknown_protocol
Error A from <protocol> names an unknown protocol (e.g. a transport like Kafka).
The protocol after from is one of a closed set: http, cron, queue, websocket or Events. Kafka and MQTT are transports, not protocols: use from queue("…") and bind the broker at the platform layer. A service with no from takes on call handlers.
Example
service worker from kafka { // ✗ not a protocol
service worker from queue("jobs") { // ✓ the queue protocolIn the Book
See also
- The grammar rule it governs:
service_decl. - Every code in its category, Services, on the diagnostic index.
bynk explain bynk.service.unknown_protocolshows the same from the installed toolchain, without a network.