proxy-wasm-cpp-host
proxy-wasm-cpp-host copied to clipboard
getProperty/setProperty: how to determine whether 'property' is proxy-independent or not?

According to the comment, some properties likes "plugin_root_id" might be proxy-independent and some may not
but the function signature of getProperty and setProperty does not provide enough information to determine that
Properties are mostly undefined right now, but I'm going to be working on finishing the ABI doc over the next week or two.
Why do you ask, though? Are you working on another SDK or proxy implementation?
Thanks for reply. I am working on the MOSN project, another proxy for service mesh written in Golang. We are also trying to support the proxy-wasm ABI on MOSN.
Nice! In that case, you might want to wait until the updated ABI is finalized (see: https://github.com/proxy-wasm/spec/pull/1), since it's undergoing a heavy rewrite.
Properties are intentionally open-ended since we don't want to bump ABI every time we need something extra. The current list should be up to date https://github.com/envoyproxy/envoy/pull/13971.