indeedeng / indeedeng/iwf

Add new command to wait for channel to be empty

Open
#493 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
661
Forks
63
PR merge metrics
No merged PRs in 30d

Description

This is useful for drain channels and complete.

The workaround today is to send a special message to tell the consumer about that. This is a bit unnatural.
Also when the number of consumers are more than one, the sender need to publish more than one "special" messages

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the repository represents channels, consumers, and commands, then identify the existing workflow and message-queue entry points involved in draining a channel. Clarify the expected behavior when multiple consumers are present, including how completion is detected and exposed. Done should include the new command and coverage for empty-channel draining with one and multiple consumers.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.