Pickle is a build environment which allows construction of modular go applications that use kafka and grpc for communication.
The application containers build configuration are requiring the context of the builder.
make builder
Constructs the builder docker image.
A basic project construct that makes use of the builder is viewable Here.
The example is also used as a basic documentation for the workflow that is used with this builder (once it have been build).
The standard installation (procedure upside) provides a 'docker + make' workable out-of-box shell for the developpers...
But, you can setup your own computer to be abble to call directly the builder tagets without running the dedicated out-of-box shell pickle-shell that comes with the builder.
You need to have go installed since we are going to build go applications as well as running go programs that are comming from internet (godogs for test, protoc-gen-go for generation of go from proto files,... )
Based on your OS, follow the online documentatin to have this done.
This library is linked against to have kafka feature from go programms. And this is due to the fact that we are making usage of confluent-kafka-go.
So, for ubuntu, installation can be done like that:
$ sudo apt install librdkafka-dev
This executable program is going to use a plugin (protoc-gen-go for go code, see installation steps bellow) to produce go generated from input proto.
Pay attention to the fact that this program version must be aligned with the pluggin version. Both are available here
Pay attention to the fact that this must be aligned with the protoc version that you did installled in the previous step. You can install a released version or by running:
go get -u github.com/golang/protobuf/protoc-gen-go
If your pluggin is not compatible with protoc you may experience fancy troubles like "no errors and incomplete code generation...". So be careful with this.
Content type
Image
Digest
Size
303.5 MB
Last updated
over 7 years ago
docker pull jobteaser/pickle