-
Publish/Consume messages to topic-endpoints using Golang
I am using golang to connect to the solace client. Everything is working fine with queues. I am able to publish or receive messages. But then, when I am trying to connect to topic-endpoint, I can't see it is connecting to the topic-endpoint. I am not getting any proper resource for the same. Kindly help me, how can I…
-
golang solance API for certificate based authentication
Hi, I followed https://docs.solace.com/Cloud/ght_client_certs.htm and set up the solace system to allow and accept certificate based authentication. But so far I wasn't able to get it running with golang. Could someone indicate how to change the code from…
-
Best Practices for handling message processing failures (Go API)
Hi, just wanted to know what is the best practice for handling failures when processing consumed events from a queue? i.e. Upon consumption of an event from a queue subscribed to multiple topics, I would call an external API to send an email to a person based on the topic. However there is a chance that this API call would…
-
GoLang API? Let's Go! 🚀
👀 Whats the news? We've been working on a real treat for our developer community here at Solace over the past couple of months and that is --> drum roll please --> The new Solace PubSub+ Messaging API for Go! We will be releasing an early access to members of our community who are interested to use the bling new Go API .…
-
PubSub+ Messaging API for C & Go - Support for Apple's M-series Macs - Now Available
Hello everyone, We are excited to announce that the PubSub+ Messaging API for C (also known as CCSMP) and Go now officially support Mac M-series processors! This means that developers can now build applications that take full advantage of the power and efficiency of Apple's latest generation of processors using Solace's…
-
Facing issue in Building SolacePubSub in Go Project in different Environment
We have tried to implement solace in Go App. And we are facing some critical issue. I am having Windows Laptop with Intel i5 processor, I can build the project (via Debian in Windows WSL) and can run in Docker using the debian:buster image. But when one other Developer (his laptop is Windows with AMD Processor) tried to…
-
Golang based Solace client in Docker
Hi, I am trying to create a docker image that would contain the golang based subscriber. The subscriber is based on https://github.com/SolaceSamples/solace-samples-go/blob/main/patterns/direct_subscriber.go The DockerFile looks like the following. FROM golang:1.18.0-alpine3.15 as builder WORKDIR /app #bring the go project…
-
golang publisher error message
Hi, i have written a golang base message producer using the solace golang API/SDK. I create random messages and can define a level of parallelism and a message length. The program works fine and creates some 1k's of messages per sec for 1k long messages. But after some time it always terminates with…
-
Producer error of with golang API on Ubuntu libcrypto.so
Hi, I like to test a a golang based producer and I used the example code from https://github.com/SolaceSamples/solace-samples-go/blob/main/patterns/hello_world.go I got the credentials generate from solace and also downloaded and referred the truststore pem file. When I start the program on an uptodate Ubuntu server I get…
-
Extracting message ID on solace pub sub broker in golang API
Hello everyone, currently I am researching Solace GoLang Api and I have few questions. Can you please help me because I cannot find the answer. How can I extract message ID or is there any unique ID that can be extracted from Inbound message and used for distinguishing messaged published to message broker I would also…
-
GoLang API Connect stuck
Doing an err = messagingService.Connect() leads me into dead end, client application is stuck forever, blocking any further execution. Is there something I can check on what's wrong? I can actually see my client is connected, telling from the web admin, having a subscription. But client application won't proceed any…
-
Go let's Go! Solace PubSub+ Messaging API for Go v1.0.0 🚀
What's the news?? 👀 Yep you read this correct, the Solace PubSub+ Messaging API for Go is officially generally available for download! In November 2021, we released the early access version of the API on the community and had a successful wave of developers and users give us initial feedback on the API. We appreciate all…
-
Reply Topic name in InboundMessage - GOLANG API
HI, I need to get reply to topic in message received in gateway mode.. It's possible? Exist some a property? I tried thus... reply_to, _ := message.GetProperty("reply_to") but not working... returned nill... How to do for get reply topic name in the message???? I am using GOLANG API 1.0.1... Thanks for help..
-
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 53 /go/pkg/mod/solace.dev/go/messaging@v1.0.1/internal/impl/constants/default_properties.go:35:2: undefined:…
-
Solace consumers and producers connecting with diferent protocol
We have multiple microservices connecting to Solace for different message publish and subscribe requirements. There are some java runtime-based microservices connecting using JMS APIs (using sol-jms library or apache qpid JMS 2.0 library), whereas there are golang and nodejs based runtimes connecting to solace based on…
-
Gopher in an Event-Driven playground
In this Conf42 Golang 2022 talk, @Tamimi gives a high-level overview of what an Event-Driven Architecture (EDA) is and its relevance to the real-world use cases. He shows how one can adopt a protocol and language agnostic event-driven architecture using GoLang. Watch the video to understand: Asynchronous Event APIs vs…
-
Go API v1.0.0 coming soon 👀
The PubSub+ Messaging API for Go will be GA towards the end of this week! Let us know if you will be using it 🙌 FYI: More details on the early access version is found here https://solace.community/group/4-solace-early-access-golang-api A couple of questions to the community Are you currently using GoLang in your…
-
Correct handling of keepalive with go-amqp
Hi Solace Community, as long as the SMF API for golang is not available, we would like to create a reference implementation using golang with AMQP and PubSub+. Instead of QPID, we want to use https://github.com/Azure/go-amqp, because it does not require C bindings and looks way more easy to handle. The example on github…