Add macros of connection pool for rpc-client