🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
How to implement the Nack for solace message in go language?
As of now I can see for a Persistent receiver there is ack call on specific message but not able to view any specific implementation for Nack in go language.
The Nack is required for me to do requeue and discard a solace message.
could you please suggest on it or provide me solution for it.
Answers
-
Thanks for update..
Can we call C native API's from go lang code and achieve NACK functionality.?
using this:
solClient_flow_settleMsg (solClient_opaqueFlow_pt,solClient_msgId_t,solClient_msgOutcome_t)
Suggestions and sample implementation if you have please provide me.
Regards,
Mastan0 -
Hi @Mastan,
I'm happy to say that as of version 1.8.0 of our Go API, it now supports the NACK functionality.
Latest version of the API can be sourced from here:
https://github.com/SolaceProducts/pubsubplus-go-client/releases.
The documentation around the usage of this feature can be found here:
Thank you,
MV
1