You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2022. It is now read-only.
[what i need?]
As mentioned in the pegasus issue : apache/incubator-pegasus#924
we wanna to create new app in container circumstances such as docker in k8s, but it is not convenient and comfortable to add the "run.sh" and "all the executed pegasus bin files" to the docker which running business code, so we think that pegasus need an app create interface
[what i will do]
i will add two new interface to the java client which are 'createApp' and 'isAppHealthy';
The 'createApp' interface‘s logic is almost the same with the 'replication_ddl_client.h'
The reason why 'isAppHealthy' interface is needed is that we can not make sure that the newly created app is fully healthy after the successful calling of 'createApp' interface;users need this interface to ensure each partition of the newly created app has enough replicas;
[how can i do]
I will reuse the 'MetaSession' class which already in the java client to send the ’RPC_CM_CREATE_APP‘ rpc to the server side, And considering the two added interface has 'timeoutMs' parameter, I refactor this class code simply;
The text was updated successfully, but these errors were encountered:
cauchy1988
changed the title
add a app create interface to the java client
feature: add a app create interface to the java client
Mar 14, 2022
[what i need?]
As mentioned in the pegasus issue : apache/incubator-pegasus#924
we wanna to create new app in container circumstances such as docker in k8s, but it is not convenient and comfortable to add the "run.sh" and "all the executed pegasus bin files" to the docker which running business code, so we think that pegasus need an app create interface
[what i will do]
i will add two new interface to the java client which are 'createApp' and 'isAppHealthy';
[how can i do]
I will reuse the 'MetaSession' class which already in the java client to send the ’RPC_CM_CREATE_APP‘ rpc to the server side, And considering the two added interface has 'timeoutMs' parameter, I refactor this class code simply;
The text was updated successfully, but these errors were encountered: