Author : John doe

I have a Golang project I am working and have multiple micro-services in the same code repository. My directory structure is roughly as follows: ├── pkg ├── cmd │ ├── servicea │ └── serviceb ├── internal │ ├── servicea │ └── serviceb ├── Makefile ├── scripts │ └── protogen.sh ├── vendor │ └── … ├── ..

Read more

I am trying to send String message using Kafka, its throwing Exception with Key of the message being null. But as far as I know the key is automatically assigned by Kafka. I am getting this error in my console. 2021-02-23 14:34:10.420 ERROR 36996 — [ad | producer-1] o.s.k.support.LoggingProducerListener : Exception thrown when sending a ..

Read more

I get SAXParseException when using bitnami/tomcat:7 (debian) docker image but it works fine when using docker.io/hobsonspipe/centos-tomcat7 image. I even tested using the same java jdk1.8.0_131 I also tested the xml’s using xmllint and no errors. <?xml version="1.0" encoding="utf-8"?> What could be the difference between the images? I don’t see any hidden characters in the first ..

Read more

I’m new to docker. I decided to use a docker container for my fastAPI app. The command docker build -t image . throws the error unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /var/lib/snapd/void/Dockerfile: no such file or directory There is a Dockerfile in my directory and yes it is spelled ..

Read more