Abstract:
Aiming at the problem of lacking effective mechanism to manage configuration files in the existing ticketing transaction middleware, this paper proposed a unified configuration management scheme based on Zookeeper, which stored the configuration file contents in Zookeeper nodes, used the publish/subscribe mechanism of Zookeeper to implement the synchronization of the configuration file in the management center and the ticketing transaction middleware, combined with daily maintenance needs, provided version management and B/S management functions of configuration files. The test data shows that this scheme simplifies the management of configuration files and improves the efficiency of upgrade and maintenance.