多 provider 负载均衡测试

This commit is contained in:
Shikong 2024-11-08 22:19:54 +08:00
parent b69b4ee78b
commit f0b33d40ee
Signed by: Shikong
GPG Key ID: BD85FF18B373C341
4 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Kafka01Producer" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true">
<module name="kafka-01-producer" />
<option name="SPRING_BOOT_MAIN_CLASS" value="cn.skcks.study.springcloud.kafka.producer.Kafka01Producer" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="cn.skcks.study.springcloud.kafka.producer.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>

View File

@ -0,0 +1,15 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="NacosConsumer01(8763)" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<module name="consumer" />
<option name="SPRING_BOOT_MAIN_CLASS" value="cn.skcks.study.springcloud.project01.NacosConsumer01" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="cn.skcks.study.springcloud.project01.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>

View File

@ -0,0 +1,22 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="NacosProvider01-2(8764)" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<additionalParameters>
<param>
<option name="enabled" value="true" />
<option name="name" value="spring.config.location" />
<option name="value" value="classpath:/application2.yml" />
</param>
</additionalParameters>
<module name="provider" />
<option name="SPRING_BOOT_MAIN_CLASS" value="cn.skcks.study.springcloud.project01.NacosProvider01" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="cn.skcks.study.springcloud.project01.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>

View File

@ -0,0 +1,15 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="NacosProvider01(8762)" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<module name="provider" />
<option name="SPRING_BOOT_MAIN_CLASS" value="cn.skcks.study.springcloud.project01.NacosProvider01" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="cn.skcks.study.springcloud.project01.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>