Red Hat AMQ 6
As of February 2025, Red Hat is no longer supporting Red Hat AMQ 6. If you are using AMQ 6, please upgrade: Migrating to AMQ 7.此内容没有您所选择的语言版本。
17.5. zk:set
Abstract
						set a znode's data
					
Synopsis 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
zk:set  [
					--help
				] [
					-i|--import
				] {
					path
				} {
					data
				}
Description 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
				The data stored in a znode should not be too large. ZooKeeper imposes an absolute limit of 1 MB, but in practice a data item should normally be much smaller than that.
			
Important
					To avoid corruption of the Fabric Registry, you should not modify any znodes under the 
/fabric/ path using the zk:set command. These registry values should only be changed through the fabric console commands—see Chapter 7, Fabric Console Commands.
				Arguments 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
				Table 17.5, “zk:set Arguments” describes the commands arguments.
			
| Argument | Interpretation | 
|---|---|
--help | Displays the online help for this command | 
-i,--import | Import data from a URL. | 
path | (Required) Path of the znode to set. | 
data | (Required) The new data or URL to import. |