| 1234567891011121314151617181920212223242526272829303132333435 |
- package nckd.cosmic.debug;
- /**
- * @Author:Zt
- * @Date:2025/11/24
- **/
- public class DebugClApplication {
- public static void main(String[] args) {
- Launcher cosmic = new Launcher();
- System.setProperty("diskcache.path","D:\\ByWork\\IdeaProject\\diskCache");
- System.setProperty("tempfile.cachetype","disk");
- System.setProperty("login.session.terminalLimit", "true");
- System.setProperty("redismodelcache.enablelua","false");
- cosmic.setClusterNumber("cl-sit");
- cosmic.setTenantNumber("cl-sit");
- cosmic.setServerIp("10.0.55.10");
- cosmic.setAppName("cosmic_cl");
- cosmic.setWebResPath("C:/Users/any50/cosmic/home/static-file-service");//需要修改
- cosmic.setConfigUrl("10.0.55.10:2181","zookeeper","XTyk%%jd141");//需要修改
- cosmic.setStartWithQing(false);
- //cosmic.set("lightweightdeploy", "true"); //标注环境为轻量级
- cosmic.set("redismodelcache.enablelua", "false"); //轻量级不能用lua,设为false
- cosmic.set("mq.debug.queue.tag", "zzzzztttt_cosmic");
- cosmic.set("lightweightdeploy.services" , ""); //设置服务为空。服务由MC启动,这里就不用启动了。
- cosmic.start();
- }
- }
|