Skip to content

How to specify remote cluster name in go-sdk DispatchHttpCall? #564

Answered by thibaultcha
ray1888 asked this question in Q&A
Discussion options

You must be logged in to vote

The module does support external dispatch calls (proxywasm.DispatchHttpCall) but not via "cluster name". Instead, directly pass an IP address or a hostname to the call, like so: proxywasm.DispatchHttpCall(127.0.0.1:10000) or proxywasm.DispatchHttpCall(acl-service.com). Kong does not support specifying service clusters names for external HTTP calls (whether in Lua or in Wasm), and neither does this module by itself.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thibaultcha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #563 on July 05, 2024 15:13.