Bug description
if you write your processor using the processor template, it uses sdk.ProcessorWithMiddleware(&Processor{}, sdk.DefaultProcessorMiddleware()...) in the NewProcessor method.
after building the processor using make build and adding it to a processors directory, and running conduit, you get this:
2025-01-23T13:10:50+00:00 WRN processor teardown failed error="processor plugin stopped while trying to send command *processorv1.CommandRequest_Teardown: plugin is not running\nmodule closed with exit_code(2)" component=plugin.processor.standalone.Registry stack=null
2025-01-23T13:10:50+00:00 WRN could not load standalone processor plugin error="processor plugin stopped while waiting for response to command *processorv1.CommandRequest_Specify: plugin is not running" component=plugin.processor.standalone.Registry plugin_path=/Users/mahahajja/repos/conduit/processors/conduit-processor-hl7.wasm stack=[{"file":"/Users/mahahajja/repos/conduit/pkg/plugin/processor/standalone/processor.go","func":"github.com/conduitio/conduit/pkg/plugin/processor/standalone.(*wasmProcessor).executeCommand","line":347},{"file":"/Users/mahahajja/repos/conduit/pkg/plugin/errors.go","func":"github.com/conduitio/conduit/pkg/plugin.init","line":23}]
Steps to reproduce
- use the processor template repo
- write a filler processor
- run
make build
- add the wasm processor to a
processors directory
- run conduit
Version
v0.4.0
Bug description
if you write your processor using the processor template, it uses
sdk.ProcessorWithMiddleware(&Processor{}, sdk.DefaultProcessorMiddleware()...)in theNewProcessormethod.after building the processor using
make buildand adding it to aprocessorsdirectory, and running conduit, you get this:Steps to reproduce
make buildprocessorsdirectoryVersion
v0.4.0