class ZkClientWrapper {

    @Value("${registry.url}")
    private String registryUrl;
    private ZkClient zkClient;

    @PostConstruct
    void init() {<FILL_FUNCTION_BODY>}

    @PreDestroy
    void destory() {
        zkClient = null;
    }

    public ZkClient getZkClient() {
        return zkClient;
    }

}

        try {
            zkClient = new ZkClient(registryUrl, 10000, 10000, new StringSerializer());
        } catch (Exception e) {
            throw new MotanFrameworkException("Fail to connect zookeeper, cause: " + e.getMessage());
        }
    
<no_super_class>