lab005

command
v0.0.0-...-f10d331 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 10 Imported by: 0

README

watch

用etcdctl对值进行修改,然后查看watch模式收到的event

注意点

  • 不像zookeeper里面,观察模式只能用一次,下一次就要用新的。 etcd里面的watch可以一直使用的
  • 对值的修改、删除,watch都会收到event

运行结果

运行结果

Imgur

etcdctl

Imgur

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL