How To Create Docker Image For Go Client ?
Hi Team,
Tried Creating the Docker image for Go client, but Facing the Below Error seems the Go package has issues, can someone help on this?
# solace.dev/go/messaging/internal/impl/constants
/go/pkg/mod/solace.dev/go/messaging@v1.0.1/internal/impl/constants/default_properties.go:35:2: undefined: ccsmp.SolClientSessionPropTopicDispatch
/go/pkg/mod/solace.dev/go/messaging@v1.0.1/internal/impl/constants/default_properties.go:35:56: undefined: ccsmp.SolClientPropEnableVal
/go/pkg/mod/solace.dev/go/messaging@v1.0.1/internal/impl/constants/default_properties.go:36:2: undefined: ccsmp.SolClientSessionPropSendBlocking
/go/pkg/mod/solace.dev/go/messaging@v1.0.1/internal/impl/constants/default_properties.go:36:56: undefined: ccsmp.SolClientPropDisableVal
/go/pkg/mod/solace.dev/go/messaging@v1.0.1/internal/impl/constants/default_properties.go:37:2: undefined: ccsmp.SolClientSessionPropReapplySubscriptions
/go/pkg/mod/solace.dev/go/messaging@v1.0.1/internal/impl/constants/default_properties.go:37:56: undefined: ccsmp.SolClientPropEnableVal
/go/pkg/mod/solace.dev/go/messaging@v1.0.1/internal/impl/constants/default_properties.go:38:2: undefined: ccsmp.SolClientSessionPropIgnoreDupSubscriptionError
/go/pkg/mod/solace.dev/go/messaging@v1.0.1/internal/impl/constants/default_properties.go:38:56: undefined: ccsmp.SolClientPropEnableVal
/go/pkg/mod/solace.dev/go/messaging@v1.0.1/internal/impl/constants/default_properties.go:39:2: undefined: ccsmp.SolClientSessionPropReconnectRetries
/go/pkg/mod/solace.dev/go/messaging@v1.0.1/internal/impl/constants/default_properties.go:40:2: undefined: ccsmp.SolClientSessionPropGuaranteedWithWebTransport
/go/pkg/mod/solace.dev/go/messaging@v1.0.1/internal/impl/constants/default_properties.go:40:2: too many errors
Answers
-
Hi @suresh18888
Amazing - you have to love it when you get an error that says "too many errors"
Can you provide some more context? What is the base image that you're using and what commands are you using to try to create the container? Obviously it would be amazing if you could put everything in a git repo so we could clone and re-create the issue easily ;)
0 -
Hi Marc ,
Thanks For the Response here you can find the Docker file
The Repo is in golang
solacegotest/Dockerfile at main · suresh-kolanji/solacegotest (github.com)
0 -
Hi Suresh! Looks like the https://github.com/suresh-kolanji/solacegotest repo is private and I was not able to check it out.
In the meantime, if you can perhaps put more information to how you reproduced the error and what version of the solace.dev/go/messaging client you are using.It might be that you are using an older version of the API and you are attempting to vendor the project in your docker image which used to error before we put in the fix in v1.0.1
0 -
Hi Tamimi ,
I have made the Repo public now.
0