raw decoder for protobufs format

I'd like to find a way to convert a binary protobuf message into a human readable description of the contained data, without using the .proto files. The background is that I have a .proto message...

Java NoSuchAlgorithmException - SunJSSE, sun.security.ssl.SSLContextImpl$DefaultSSLContext

Background I have been using the Authorize.net SDK in an Eclipse project of it's own. Everything was working great. I then needed to add it to my main project. I added the dependencies to the...

NetDataContractSerializer Deserialization With New Property

Lacking any real foresight, I've serialized a large set of data decorated only with Serializable using NetDataContractSerializer, and now I'd like to add a new field. What are my options? The...

Node JSON socket vs protobuf over TCP socket

I've been struggling on how to best communicate between two NodeJS processes that might be on different machines. I have a TCP connection between multiple clients and one server. Those clients...

How to validate JSON and show positions of any errors?

I want to parse and validate (custom) JSON configuration files within Go. I would like to be able to parse the file into a struct and validate that: no unexpected keys are present in the JSON...

protoc jar maven plugin intellij not creating compiled proto files

I am trying to use the protoc jar maven plugin in intelij. I've added this to my pom.xml: <plugin> <groupId>com.github.os72</groupId> ...

protobuf unmarshal unknown message

I have a listener which receives protobuf messages. However it doesn't know which type of message comes in when. So I tried to unmarshal into an interface{} so I can later type cast: var data...

Cant find package from $GOROOT and $GOPATH

Small part of error I'm getting after trying to run go build command go build ./... trillian.pb.go:7:8: cannot find package "github.com/golang/protobuf/proto" in any of: ...

Tensorflow import error: No module named 'tensorflow'

I installed TensorFlow on my Windows Python 3.5 Anaconda environment The validation was successful (with a warning) (tensorflow) C:\>python Python 3.5.3 |Intel Corporation| (default, Apr 27...

Go Protobuf Precision Decimals

What is the correct scalar type to use in my protobuf definition file, if I want to transmit an arbitrary-precision decimal value? I am using shopspring/decimal instead of a float64 in my Go code...

protoc-gen-go: program not found or is not executable

I am trying to build a sample app with go grpc but I am unable to generate the code using "protoc" Have installed the required libraries/go packages using: go get -u google.golang.org/grpc go get...

Unable to use the protobuf package

It appears that I cannot import this package: github.com/golang/protobuf/proto When I try to build or use go get I get:cannot load github.com/golang/protobuf/proto: module...

How can i write my own RPC Implementation for Protocol Buffers utilizing ZeroMQ

According to the Google Protocol Buffers documentation under 'Defining Services' they say, it's also possible to use protocol buffers with your own RPC implementation. To my understanding,...

Correct format of protoc go_package?

I have an existing project in Go where I'm using Protocol buffers / gRPC. Until recent the go_package option was optional and the resulting Go package name would be the same as the proto package...

cannot find package "google.golang.org/protobuf/cmd/protoc-gen-go"

The page Protocol Buffer Basics: Go says 2 things: Download the package and follow instructions in README Run go install google.golang.org/protobuf/cmd/protoc-gen-go Following the Download...

Issue with System.Private.ServiceModel

I have created an Core 3.1 application that use web services based on .net standrad 2.0. On local development environment every things works fine. Till I deploy it on UAT I get the following...

Generate grpc-gateway, swagger and grpc-go files with bazel

I have a mono repo with some services (service-0 to service-4). There is a proto directory where are the proto files are stored. The proto-files are in the respective subfolders. The directory is...

How to define and (de)serialize an IPAddress in protobuf / C#?

public class Example { public DateTime Date { get; set; } public IPAddress Ip { get; set; } public string ExampleDescription { get; set; } } And the .proto: syntax =...

How to use protocol buffer FieldMask in Go

Python Generated Code lists Well Known Types, but there is no equivalent in Go Generated Code. I assume if there was, it would document this package...

Can't unmarshal bytes using protobuf

I am writing a simple client-server to get to know protobuf. I have the following message.proto file: syntax = "proto3"; package main; message Text { string name = 1; int32 id =...

Error deploying chaincode in Hyperledger Fabric 2

I'm trying to deploy the chaincode: Hyperledger Fabric 2 Ubuntu 20.04 go version go1.13.8 linux/amd64 And I always getting this ERROR: [email protected]:~/fabric-samples/test-network$ ./network.sh...

google dataflow job cost optimization

I have run the below code for 522 gzip files of size 100 GB and after decompressing, it will be around 320 GB data and data in protobuf format and write the output to GCS. I have used n1 standard...

Getting error "CUDA backend requires cuDNN" when configuring OpenCV cmake build with cuda backend turned on

My goal: My goal is to configure a build of OpenCV 4.5.1-dev with support for cuda, tesseract and QT without any cmake error.. The problem I am having: I am getting the following error when I...

FATA[0004] failed to initialize project: unable to scaffold with "base.go.kubebuilder.io/v3": exit status 2

I am trying to create an operator using operator-sdk. I have installed opeator-sdk on my mac OS. My Environment Details : go version go1.15.12 darwin/amd64 operator-sdk version: "v1.7.2", commit:...

Protobuf error - found packages main (main.go) and __ (person.pb.go)

For my project I am passing data between modules, which were 2 different languages. So I am trying to learn protobuf. Followed sample from...

Generate .pb file without using protoc in golang

I'm trying to generate .pb.go file using service.proto as file input in Go. Is there a way to do it without using protoc binary (like directly using package github.com/golang/protobuf/protoc-gen-go)?

not receiving error from remote call, goes all the way to timeout Go gRPC + micro + protobuf

I've recently started learning microservices using Go and I've stumbled upon some tutorial that was using micro, gRPC and protobuf. After some time I realized that I do not receive any error...

Kafka S3 Source Connector for PARQUET format in S3

I have topic events being produced using Protobuf. I could successfully sink my topic events into an S3 bucket using the S3 Sink connector in Parquet format. Now I have in my S3 bucket objects of...

ModuleNotFoundError: No module named 'google.cloud' When deploying Streamlit App to Heroku

I created a python streamlit app in my local , I have the following imports in my code ; import requests import geopandas as gpd import numpy as np import pandas as pd import plotly.express as...

Golang. Replace module path for package that are not real go packages

There is this package https://github.com/open-telemetry/opentelemetry-proto which contains protobuf definitions only. To generate golang code one must type: make gen-go and go build fails with...