etcd-adapter icon indicating copy to clipboard operation
etcd-adapter copied to clipboard

put is not supported

Open ccwxl opened this issue 3 years ago • 6 comments

  • Which version of apisix is currently supported?
  • start Error when starting apisix
xxx:apisix-2.13.1/ $ apisix start                                                                                               [10:32:24]
/usr/local/Cellar/openresty/1.19.9.1_2/luajit/bin/luajit ./apisix/cli/apisix.lua start
got malformed key-put message: "{"error":"put is not supported","code":2,"message":"put is not supported"}" from etcd "http://127.0.0.1:12379/v3/kv/put"

ccwxl avatar May 18 '22 02:05 ccwxl

@bzp2010 pls take a look at this issue, many thx

membphis avatar May 21 '22 10:05 membphis

@siaron Yes, the current Kine dependency does not support put and delete functions; there is currently a PR implementation of this feature #4 , but it has been implemented in a very hack way, and we plan to refactor this feature, but currently lack sufficient manpower to complete this work, if you are interested you can participate in this work.


Specifically, Kine is not meeting our needs and appears to be lacking in maintenance, this dependency may need to be removed and we need to implement our own database storage layer module.

bzp2010 avatar May 21 '22 10:05 bzp2010

Happy to be a part of it. Are there any relevant design documents or materials?

ccwxl avatar May 21 '22 15:05 ccwxl

so this etcd-adapter can not work as apisix etcd now?

ZhangShangyu avatar Oct 20 '22 14:10 ZhangShangyu

so this etcd-adapter can not work as apisix etcd now?

It can do a lot but it's still an experimental project. You try play it but be careful when you want to use it on prod env.

tokers avatar Oct 21 '22 01:10 tokers

thanks. let me try try

so this etcd-adapter can not work as apisix etcd now?

It can do a lot but it's still an experimental project. You try play it but be careful when you want to use it on prod env.

ZhangShangyu avatar Oct 21 '22 06:10 ZhangShangyu