Support for AWS ElastiCache "config" command (needed to support cluster configuration)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by reading the client's _misc_cmd and _fetch_cmd methods and the existing command tests; the issue says _misc_cmd reads only one line, while AWS config get cluster returns two lines ending with END. Compare the proposed generic low-level command with adding CONFIG handling, then check the AWS Auto Discovery documentation linked in the issue. Done means pymemcache can retrieve the complete cluster configuration response.
Written by the indexing model from the issue text.
Description
The AWS implementation of memcached adds a new command "config" (for now only "config get cluster") that returns the list of hosts in the cluster, for auto-discovery. I would like to be able to use pymemcache on AWS and get the cluster configuration:
A couple of ways:
- a low level command (like "_misc_cmd") that can return multiple lines for the result (_misc_cmd currently reads just one line). The "config" command currently returns 2 lines terminated with "END")
- update _fetch_cmd to add support for CONFIG (but if AWS adds more subcommands, the format may change).
I would be fine with the first way (and then expose either a "config" or "aws_config" command or add a generic high-level command that would allow to send more "non-standard" requests. I have hacked something together that implement this (with a new "aws_config" method on the base client class) and I can submit a pull request.
- Dominant language
- Python
- Stars
- 842
- Forks
- 190
- Avg merge
- 3h 17m
- Merged PRs (30d)
- 4
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from pinterest/pymemcache
-
check_key_helper accepts whitespace-only keys, which the docs say it must rejectPossibly taken @CRYPTONIKAV claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
pinterest/pymemcache#662 ·
Maintainers usually reply within 1 day
-
MockMemcacheClient should always return str or bytes (?)Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
pinterest/pymemcache#649 · 4 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
pinterest/pymemcache#633 ·
Maintainers usually reply within 1 day
-
New release?Open
Difficulty 1/5 Under an hour Newbie friendliness 20/100
pinterest/pymemcache#622 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
pinterest/pymemcache#621 ·
Maintainers usually reply within 1 day
All issues in pinterest/pymemcache
Similar issues
-
`burr` fails to start when the Python path has a space in itPossibly taken @enekoreto claimed this today. Openstatus/needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 5 days
-
gemini 出现了新的域名需要加入Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 2/5 Half a day Newbie friendliness 72/100
debpalash/VoiceStudio#2903 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dagster-io/community-integrations#367 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
aws-samples/sample-per-model-bedrock#243 ·
Maintainers usually reply within 1 day