buaazp / uq Goto Github PK
View Code? Open in Web Editor NEWAnother simple persistent message queue.
License: BSD 3-Clause "New" or "Revised" License
Another simple persistent message queue.
License: BSD 3-Clause "New" or "Revised" License
It's great software. Will upgrade/ update soon? With password auth feature will be best.
hi, buaazp. I implemented a python client for uq and have made a pull request here. Besides I found two minor issues about protocol compatibility during developing. Some FAQ in document may be better.
func (r *RedisEntry) onQmdel(cmd *command) *reply
(https://github.com/buaazp/uq/blob/master/entry/redisQueue.go#L101) function returns OK
if a line is deleted successfully, while the standard redis DEL
command returns the number of keys that were removed.get foo/x id
command in memcache-protocol requires the the first parameter of get
is the line name. While some memcached client may not preserve the key order.go get -u github.com/buaazp/uq
/root/.gopath/src/github.com/coreos/go-etcd/etcd/response.generated.go:99:6: r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or method EncodeArrayStart)
/root/.gopath/src/github.com/coreos/go-etcd/etcd/response.generated.go:107:6: r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or method EncodeMapStart)
/root/.gopath/src/github.com/coreos/go-etcd/etcd/response.generated.go:111:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
/root/.gopath/src/github.com/coreos/go-etcd/etcd/response.generated.go:119:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
/root/.gopath/src/github.com/coreos/go-etcd/etcd/response.generated.go:121:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
/root/.gopath/src/github.com/coreos/go-etcd/etcd/response.generated.go:130:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
/root/.gopath/src/github.com/coreos/go-etcd/etcd/response.generated.go:142:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
/root/.gopath/src/github.com/coreos/go-etcd/etcd/response.generated.go:144:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
/root/.gopath/src/github.com/coreos/go-etcd/etcd/response.generated.go:157:6: z.EncSendContainerState undefined (type codec.genHelperEncoder has no field or method EncSendContainerState)
/root/.gopath/src/github.com/coreos/go-etcd/etcd/response.generated.go:170:6: z.EncSendContainerS
can the message persist forever? used as a logging system
before connect,first get topic node relation by etcd api?
如果直接add一个topic但是不add一个line的话,set新增一个消息可以成功,直接gettopic会失败:
192.168.0.7:8808> add foo1
OK
192.168.0.7:8808> set foo1 askdl;askd;lasd
OK
192.168.0.7:8808> get foo1
(error) 104 Bad Key Format (pop key parts error: 1)
清空一个line后一会整个topic都清空了:
127.0.0.1:8800> add test
OK
127.0.0.1:8800> add test/a 10s
OK
127.0.0.1:8800> set test a
OK
127.0.0.1:8800> set test b
OK
127.0.0.1:8800> empty test/a
OK
127.0.0.1:8800> info test
name:test
head:0
tail:2
count:2 此时正常
name:test/a
recycle:10s
head:2
ihead:2
tail:2
count:0
127.0.0.1:8800> info test 等待一会再执行
name:test
head:2
tail:2
count:0 此时就空了
name:test/a
recycle:10s
head:2
ihead:2
tail:2
count:0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.