redpanda-data / redpanda-data/connect
Custom value injection from main.go to custom components
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8.8k
- Forks
- 969
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 64
Description
The context variable passed from main.go does not pass its keys to the context parameter in the custom components' files. This disallows persistent db connections and shared connection pools between messages. This would also allow for more complex custom processors using persistent connections to external services.
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
Start in main.go and trace how the context variable is passed into custom components. Compare that path with the context parameter in custom component files, focusing on preserving keys and connection state between messages. Done means custom components can receive the injected values needed for persistent database connections, shared pools, or external services.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, stream-processing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100