ChilliCream / ChilliCream/graphql-platform

Subscription message acknowledgement

Open
#8,411 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🌶️ hot chocolate Area: Subscriptions
Dominant language
C#
Stars
5.8k
Forks
810
Avg merge
15h 39m
Merged PRs (30d)
98

Description

Product

Hot Chocolate

Is your feature request related to a problem?

Using indirect correlations I can see that some of messages sent to GraphQl subscriptions are not received by the client. I am using HC for three years now to handle tens of thousands of subscriptions. It is handling the task pretty well, but for some reason quite a few messages are lost during delivery to the subscribers. It is not critical issue because it impacts prevailing minority of the client base. However inability to make the message delivery durable causes unpleasant resource utilization in different place.

The solution you'd like

it would be great to have some sort of mode that can be activated for troubleshooting or permanently that uses some sort of hook or handler that accepts an ACK from the client for messages I send to the subscription. I then can correlate messages I sent and receive ACKs for.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by tracing Hot Chocolate's GraphQL subscription message-delivery path and define how an optional client acknowledgement hook would expose message identity. Done means the proposed mode can receive acknowledgements that users can correlate with sent subscription messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, graphql
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.