Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for darner message queue #11

Merged
merged 1 commit into from
Aug 24, 2015
Merged

Conversation

bogdanovich
Copy link

Darner message queue usues memcache protocol.
https://github.com/wavii/darner

It supports transactional reads, for example:

val, fl, err := memc.Get("task/open")
// Perform job
_, _, _ = memc.Get("task/close")

This PR fixes ReadError that raises because
server response doesn't have "/open" suffix in key name.

Key "task/open" != "task" in server response.

Example:

telnet *** 22133
Escape character is '^]'.
get task/peek
VALUE task 0 24
task_content
END
get task/open
VALUE task 0 24
task_content
END
get task/close
END

Darner message queue usues memcache protocol.
https://github.com/wavii/darner

It supports transactional reads, for example:

```
val, fl, err := memc.Get("task/open")
// Perform job
_, _, _ = memc.Get("task/close")
```

This PR fixes ReadError that raises because
server response doesn't have "/open" suffix in key name.

Key "task/open" != "task" in server response.
kklis added a commit that referenced this pull request Aug 24, 2015
Add support for darner message queue
@kklis kklis merged commit be381d1 into kklis:master Aug 24, 2015
@kklis
Copy link
Owner

kklis commented Aug 24, 2015

Seems fine, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants