swapnil1032002 opened a new issue, #3213: URL: https://github.com/apache/incubator-eventmesh/issues/3213
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues. ### Enhancement Request <html> <body> <!--StartFragment--> package org.apache.eventmesh.connector.knative.config; -- 19 | 20 | import org.apache.commons.lang3.StringUtils; 21 | 22 | import com.google.common.base.Preconditions; 23 | 24 | public class ClientConfiguration { 25 | 26 | public String emurl = ""; 27 | public String serviceAddr = ""; 28 | 29 | public void init() { 30 | String serviceAddrStr = ConfigurationWrapper.getProp(ConfKeys.KEYS_EVENTMESH_KNATIVE_SERVICE_ADDR); 31 | Preconditions.checkState(StringUtils.isNotEmpty(serviceAddrStr), 32 | String.format("%s error", ConfKeys.KEYS_EVENTMESH_KNATIVE_SERVICE_ADDR)); 33 | serviceAddr = StringUtils.trim(serviceAddrStr); 34 | String[] temp = serviceAddr.split(";"); 35 | emurl = temp[0]; 36 | serviceAddr = temp[1]; 37 | } 38 | 39 | static class ConfKeys { 40 | 41 | public static final String KEYS_EVENTMESH_KNATIVE_SERVICE_ADDR = "eventMesh.server.knative.service"; 42 | 43 | } 44 | } <!--EndFragment--> </body> </html> ### Describe the solution you'd like this solves the overall issue ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
