spinframework / spinframework/spin
Multiple handlers per component
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.5k
- Forks
- 310
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 24
Description
This is an awesome project! I was wondering how difficult it would be to add a second handler (redis) to a component. I'd like to be able to follow a flow similar to:
Start compone listening to channel A
Subscribe to channel B
Publish message to channel C
Wait for message on channel B
Process
Exit
Is this functionality already possible? If not would this require changes to the runtime as well as the internal redis library?
Thank you 🙏
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the runtime and internal Redis library mentioned in the issue; trace how a component starts, subscribes, publishes, waits, processes, and exits. Determine whether multiple handlers are already supported and, if not, establish the runtime and Redis-library scope needed to support the requested flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- redis, rust
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100