
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
github.com/killbill/standalone-queue
Standalone java server that provides a gRPC
interface to post and receive notification events.
The event engine is based on the internal Kill Bill queue. There is also a client package written in Go to post and subscribe to such notifications.
The goal of this package is to offer a way to reliably post and subscribe to notiifcations from a GO application.
The transport is managed by the internal gRPC
library (GO client and java server) and consists of one http2 connection.
There are 3 main apis offered:
PostEvent
is a unary gRPC callSubscribeEvents
is a server-side stream gRPC call. The server replies to the client but keeps the stream open (indefinitely) to send events as they arriveClose
Notifies server to unsubscribe the clientgRPC seems to correctly handle long connections, but of course connections can still break, so code requires special hardening logic, both on the client and server side.
Both the client and the server are configured to do their best to keep the underyling transport (tcp connection) alive, by sending ping keepAlive. Note that we don't rely on TCP KeepAlive (which is also configured with a much greater period) as those are not always guaranteed to correctly behave from end-end (e.g proxys in the middle, ...).
It is important that setings from client and server match (otherwise we observe some pretty crazy behavior).
In normal scenario, we observe one TCP handshake and some periodic ping keepAlive (in addition to regular traffic, if any).
Once correctly configured, the transport is mostly handled by gRPC
underlying layer, but tcp connections can (and will) still break so we need application client and server additional logic.
The client maintains a state machine that will trigger new SubscribeEvents
call when any error has been detected.
The logic handles the following things:
The server is configured to re-enqueue any failed attempts at sending notifications. In addition to that, it does best effort to cleanup state in the following situations:
Close
operation to cleanup state (perhaps as a result of cleaning its own state on error)gRPC
internal cancelation events to cleanup state and also verify internal state prior posting events.FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.