You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following the tutorial from the official Kuiper documentation on how to build a Docker image for the plugin, specifically the "Docker Compile" step in below article.
However, I am encountering an error when attempting to compile the Docker image. Below is the error message I am receiving:
/go # go build -trimpath --buildmode=plugin -o ./kuiper/_build/prod/plugins/sinks/kinesis@v1.1.0.so ./kinesis/sinks/kinesis.go
kinesis/sinks/kinesis.go:5:2: no required module provides package github.com/lf-edge/ekuiper/extensions/sinks/kinesis/ext: go.mod file not found in current directory or any parent directory; see 'go help modules'
kinesis/sinks/kinesis.go:6:2: no required module provides package github.com/lf-edge/ekuiper/pkg/api: go.mod file not found in current directory or any parent directory; see 'go help modules'
/go #
I have the following go.mod file:
module kinesis
go 1.22
require (
github.com/lf-edge/ekuiper v0.0.0-20200323140757-60d00241372b
github.com/lf-edge/ekuiper/extensions/sinks/kinesis
)
@sanjayN4497 Why put the implementation in "github.com/lf-edge/ekuiper/extensions/sinks/kinesis/ext"? You can just implement in your own kinesis project.
I am following the tutorial from the official Kuiper documentation on how to build a Docker image for the plugin, specifically the "Docker Compile" step in below article.
(https://ekuiper.org/docs/en/v1.14/extension/native/develop/plugins_tutorial.html#docker-compile)
However, I am encountering an error when attempting to compile the Docker image. Below is the error message I am receiving:
I have the following go.mod file:
And the kinesis.go file is as follows:
The error specifically mentions that a go.mod file is missing for these modules, and I cannot proceed with the build.
Could you please help me understand what might be causing this issue and how I can resolve it to build the Kuiper plugin successfully?
The text was updated successfully, but these errors were encountered: