Remove plugin_context_id from callbacks.#93
Remove plugin_context_id from callbacks.#93PiotrSikora wants to merge 1 commit intoproxy-wasm:mainfrom
plugin_context_id from callbacks.#93Conversation
Signed-off-by: Piotr Sikora <code@piotrsikora.dev>
|
(Mostly opening this for the discussion) |
|
Just to understand better, is the rationale for this that the plugin already knows the context ID from on_configure, so passing it again in subsequent callbacks doesn't provide much value, or that the plugin context ID itself isn't used for much and therefore doesn't need to be passed? |
No, there can be multiple plugin instances running at the same time (either config reload or multiple instances with different configurations running using same It's purely about the consistency. Right now, we create association between streams ( On the other hand, callbacks for callouts and queues are called with an explicit I think the original reason for |
No description provided.